I receive an error when I copy the code over to my header .. I am adding
PHP Code:
<?php
if (@include(getenv('DOCUMENT_ROOT').'http://www.thephonemall.net/ad/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:1', 0, 'www.google.com', 'www.thephonemall.net/ads/bigad.swf', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>
and receiving:
==========================
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/thephone/public_html/forums/includes/adminfunctions_template.php(3055) : eval()'d code on line 24
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish
=============================
I am also looking to integrate PHPADSNEW with forum specific banners.. how could I do this?