I am trying to add this code
PHP 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
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?