I recently updated to the new ad_network.php, deleted my ad_network_ads.txt and remade an empty one. Both are 777. I see three ads on each page, all the same, for Gift Baskets. This is what I have in my webpages: In my main forum: // Special macro for coop ad network ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ('ad_network.php'); $ad_display .= $ad_network[0] . ' '; $ad_display .= $ad_network[1] . ' '; $ad_display .= $ad_network[2]; $this_footer = str_replace( "<!--COOP.AD.NETWORK-->", $ad_display, $this_footer ); PHP: And in the "lofi version" (archive)... <?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include_once ('ad_network.php'); $LOFISKIN['wrapper'] = <<<EOF PHP: ... <div style = "text-align:center; font-size:10pt;"> {$ad_network[0]}, {$ad_network[1]}, {$ad_network[2]}, </div> PHP: ... EOF; PHP: Any glaring mistakes?
How did you know? I updated it just a few minutes ago! I'll try again though. I copied the "Text link only" code from the setup page.. should I not use that?
Double check your ad_network.php file... I'm showing on this end that it's still old. If you look in the file, does it have the last updated date/time comment at the top? Maybe it didn't save properly on your server or something when you tried to update it.
<?php // Last update: Jan 21, 2005 8:51 am if (!function_exists('file_get_contents')) { function file_get_contents($url) { $handle = fopen($url, 'r'); $string = fread($handle, 4096000); fclose($handle); return $string; } } PHP: [EDIT!] Validates now ... (had to wait a few minutes..) Maybe I did have an outdated copy - I thought I deleted it and made a new one though.. oh well