Hi,
I have a somewhat "addressed" issue regarding banner rotators for links...
But none have explained how to use it within a .CGI file.
Its obvious you cant execute a CGI within a CGI, but there is a way of running the Web Adverts using some mods.
WebBBS bullitin board where you run a config.pl file, has this code in it:
sub insertadvert {
require "/full/path/to/ads_display.pl";
$adverts_dir = "/full/path/to/ads";
$display_cgi = "http://foo.com/ads/ads.pl";
$advertzone = $_[0];
$ADVUseLocking = 1;
$ADVLogIP = 0;
$DefaultBanner = "";
$ADVNoPrint = 1;
$ADVQuery = "";
&ADVsetup;
}
Where it executes the webadvert within its .pl file.
Is there any way someone can implement this idea, in running a rotating webadvert for the add.cgi, modify.cgi and search.cgi?
Thanks, it would be greatly appreciated!!
------------------
BeatBox Entertainment
beat-box.com
Ron Newbigging
I have a somewhat "addressed" issue regarding banner rotators for links...
But none have explained how to use it within a .CGI file.
Its obvious you cant execute a CGI within a CGI, but there is a way of running the Web Adverts using some mods.
WebBBS bullitin board where you run a config.pl file, has this code in it:
sub insertadvert {
require "/full/path/to/ads_display.pl";
$adverts_dir = "/full/path/to/ads";
$display_cgi = "http://foo.com/ads/ads.pl";
$advertzone = $_[0];
$ADVUseLocking = 1;
$ADVLogIP = 0;
$DefaultBanner = "";
$ADVNoPrint = 1;
$ADVQuery = "";
&ADVsetup;
}
Where it executes the webadvert within its .pl file.
Is there any way someone can implement this idea, in running a rotating webadvert for the add.cgi, modify.cgi and search.cgi?
Thanks, it would be greatly appreciated!!
------------------
BeatBox Entertainment
beat-box.com
Ron Newbigging