Okay I got the ad working on an html site by using the "passthru.php" method. The trouble is that I also have 50 or so php pages on this site generated in a db. When I validate, these pages don't pass because they aren't showing the ads. (Only the html pages are showing ads.) Is there a way to show the ads on these php pages? If so, what code do I put in them?
hi if you have below code in a seperate file all you need to do is an include statement in the generated php wher you want this. <?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ('ad_network.php'); echo $ad_network[0]; ?> M PS part of the instruction for other sites
I tried putting this code directly into the php file and it ended up printing the code on the page. But if I'm understanding you, I create a separte file with this code and then put an "include statement" where I want this code to go? Please show me how to write the include statement. (I'm obviously php impared)
before I do this the pages you generate are what mime type htm or php and can u explain how these pages are generated as I understand they are .php using db calls for content...... if it prints the code it looks like these are .htm and your .htm is not parsed. Thus an include wouldn't work either. M
Maybe you guys can answer this. I've just set my site up on teh network, I've got base and a weight but my ads still say Pending Approval. So does that mean my ads are not running live on other sites? Or does it mean I have a problem? thanks in advance for your help
all ads are aproved by an admin (shawn) usually within hours. If they are enabled they will than dissapate through the coop net which takes up to 100 hours to be fully effective. M