leeds1
Jan 13th 2005, 4:04 am
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 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 ?