hi,
I need to add this php script to the phproxy proxified pages. Currently i am using 2 adbrite 468x60 banners below the url form. I need to replace one adbrite code with this custom php ad rotator script.
ad_rotator.php
Code:<?php $fcontents = join ('', file ('banner_ads.txt')); $s_con = split("~",$fcontents); $banner_no = rand(0,(count($s_con)-1)); echo $s_con[$banner_no]; ?>
banner_ads.txt
I tried using theCode:<a href="http://www.qksrv.net/click-498294-10346" target="_top" > <img src="http://www.qksrv.net/image-498294-10346" width="468" height="60" alt="Click here for Commission Junction" border="0"></a> ~ <a href="http://www.qksrv.net/click-498294-896771" target="_top" > <img src="http://www.qksrv.net/image-498294-896771" width="468" height="60" alt="null" border="0"></a> ~ <a href="http://www.qksrv.net/click-498294-541523" target="_top" > <img src="http://www.qksrv.net/image-498294-541523" width="468" height="60" alt="Dotster $14.95 Domain Name Registration" border="0"></a>as directed by the author, on doing so the site goes blank and to restore i have to remove this code.Code:include 'ad_rotator.php';
It is clear that there is php prasing error. how do i resolve this.![]()


LinkBack URL
About LinkBacks
Reply With Quote







Bookmarks