Gossamer Forum
Home : Products : Links 2.0 : Customization :

Web Adverts for the add.cgi , search.cgi and modify.cgi?

Quote Reply
Web Adverts for the add.cgi , search.cgi and modify.cgi?
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

Quote Reply
Re: Web Adverts for the add.cgi , search.cgi and modify.cgi? In reply to
take a look at
http://www.gossamer-threads.com/scripts/forum/resources/Forum3/HTML/003485.html
that works for me. you do not edit the cgi, but the templates.

volkman