I am trying to parse the following php code in the header template and have tried it every way from sunday, but cannot get it to properly insert into the header.
I have tried it with parse php on and also with it off and still its no go
Any ideas?
-------
<?php
$banner = fopen ("http://www.dsschat.com/cgi-bin/advertpro/banners.fpl?region=1&mode=SSI", "r");
if (!$banner) {
echo "[an error occurred during processing]";
exit;
}
while (!feof ($banner)) {
$line = fgets ($banner, 1024);
echo "$line";
}
fclose($banner);
?>
I have tried it with parse php on and also with it off and still its no go
Any ideas?
-------
<?php
$banner = fopen ("http://www.dsschat.com/cgi-bin/advertpro/banners.fpl?region=1&mode=SSI", "r");
if (!$banner) {
echo "[an error occurred during processing]";
exit;
}
while (!feof ($banner)) {
$line = fgets ($banner, 1024);
echo "$line";
}
fclose($banner);
?>
Comment