Hi I run a .shtml site with php includes In one of the php includes I want to place the ads If I place the code: <?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ($_SERVER['DOCUMENT_ROOT'].'/ad_network.php'); echo $ad_network[0]; ?> It brings up 2 link ads but the following error message before showing the ads Warning: ini_set(): Cannot change zlib.output_compression - headers already sent in /home/mydomain/public_html/ad_network.php on line 78 Any ideas ?
I took these two lines out of ad_network.php at the end: ini_set ('zlib.output_compression', 0); echo end ($ad_network); It works fine Is this OK Shaun ? Because the echo end ($ad_network); was also producing a sixth link before the main links were shown ?