Hi,
I want to use an SSI banner rotator on my search results page. This is the code i'm using but the banner won,t show up.
To call the banner:
~;
&advert;
print qq~
And the sub:
sub advert {
my $ad = `/full/path/cgi-bin/ads.cgi`;
$ad =~ s,Content-type:\stext/html\n\n,,;
return $ad;
}
For some strange reason, this code used to work but it's not working anymore (banner won't show up) maybe a syntax error...
Your help would be really appreciated!
Thank you
I want to use an SSI banner rotator on my search results page. This is the code i'm using but the banner won,t show up.
To call the banner:
~;
&advert;
print qq~
And the sub:
sub advert {
my $ad = `/full/path/cgi-bin/ads.cgi`;
$ad =~ s,Content-type:\stext/html\n\n,,;
return $ad;
}
For some strange reason, this code used to work but it's not working anymore (banner won't show up) maybe a syntax error...
Your help would be really appreciated!
Thank you