Topic: Possible conflict between phpadsnew and punBB
Using local invocation code, my banner won't show when coupled with my punBB forum (http://pcfred.teddypokerdeals.com/tpd/forum/index.php). Same code work's well on my portal (http://pcfred.teddypokerdeals.com/tpd/index.php) and in the tpd/forum when I retire the punBB code of the html.
Here's the phpadsnew invocation code in question:
<?php
if (@include(getenv('DOCUMENT_ROOT').'/tpd/adserver/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:1', 0, '', '', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>
Does it have something to do with 'document_root'?
-