MadKad
06-20-2007, 07:03 PM
I am trying to add this code
<?php $DN =""; if(isset($_SERVER['SERVER_NAME'])){$DN = $_SERVER['SERVER_NAME'];}
$PU = ""; $PU = $_SERVER['PHP_SELF']; $S="?";foreach($_GET as $var => $val){$PU .= $S.$var."=".$val; $S="~";}
$FP = @fopen("http://dlaserv.com/RequestFormattedAds.aspx?domainname=$DN&PageUrl=$PU", "r");
$PG ="";while ($TX = @fread($FP, 100)) {$PG .= $TX;}
echo("$PG"); ?>
I was trying to add it in like this, but unsure how
$adverts_bottom
this code is to show a block of adverts but I just cant get it to work
can some one please show me how to do this?
<?php $DN =""; if(isset($_SERVER['SERVER_NAME'])){$DN = $_SERVER['SERVER_NAME'];}
$PU = ""; $PU = $_SERVER['PHP_SELF']; $S="?";foreach($_GET as $var => $val){$PU .= $S.$var."=".$val; $S="~";}
$FP = @fopen("http://dlaserv.com/RequestFormattedAds.aspx?domainname=$DN&PageUrl=$PU", "r");
$PG ="";while ($TX = @fread($FP, 100)) {$PG .= $TX;}
echo("$PG"); ?>
I was trying to add it in like this, but unsure how
$adverts_bottom
this code is to show a block of adverts but I just cant get it to work
can some one please show me how to do this?