i have followed the php site instructions and failed several time now i initially was getting nothing at all but now i have the following error showing Fatal error: Cannot redeclare file_get_contents_an() (previously declared in /home/rights/public_html/ad_network_320.php:4) in /home/rights/public_html/ad_network_320.php on line 4 seems that the coop code may be using a previouslty used variable or similar in the php article site i am using. can anyone offer any advice for this thanks
Since _an probably stands for "Ad Network"... I find it unlikely this is a previously declared function. I'd bet you are including it twice, or putting it in a file that's included twice. Barring that, find the previously declared function, and change the name. (99.99% chance there isn't a function with that name in your code, would be my bet.)
lol another great fryman post. i think my next project will be "find Anything by Fryman of any use whatsoever on digitalpoint" you make laugh you sad man and in reply. anyone who helps can have the weight for the first week in return. ;-)
I have tried removing all references to it and am having no luck. i also am having a problem with a wordpress site too. when i ad the php to the footer file it has a reference to ad_network_ads_320.txt firstly i thought it was supposed to be called ad_network_320 and secondly i thought it was supposed to be a php file not text. seems to just create strange problems for me which are not covered in the official or unofficial faq ---------------------------------- update i have managed to get the ads to show on the wordpress blog now but after i have spcifically picked text ads onyl it is showing banner ads. anyone know of a way to remedy this?
I don't know what the difference is, there really isn't any between banner and text. The only thing I can think of is that your html is messed up. You obviously need to keep fiddling with it, because the errors you have described are simple and your first instinct should not be to post, try to figure it out. Play with it, but DO NOT modify the co-op code. It is against the stated TOS.
I found that those problems don't exist in PHP: Hypertext Preprocessor. 5.2.5 - perhaps your problem is the function mystaticfunc which is a public static function that can be called with foo::mystaticfunc(); best of luck...