Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Need help with ads display!

Quote Reply
Need help with ads display!
I have modified my site_html_templates.pl by adding this :

# You can put variables here that you would like to use in any
# of your templates.

%globals = (
date => &get_date,
time => &get_time,
db_cgi_url => $db_cgi_url,
build_root_url => $build_root_url,
site_title => $build_site_title,
css => $build_css_url,
banner1 => \&insertadvert1,
banner2 => \&insertadvert2,
banner3 => \&insertadvert3,

);




sub insertadvert1 {

my $ad = `/home2/msmaster/cgi-bin/ads4/display.cgi`;
$ad =~ s,Content-type:\stext/html,,;
return $ad;

}

sub insertadvert2 {

my $ad = `/home2/msmaster/cgi-bin/ads5/display.cgi`;
return $ad;

}

sub insertadvert3 {

my $ad = `/home2/msmaster/cgi-bin/ads6/display.cgi`;
return $ad;

}

The problem is that when the ad is displayed, i always have the text : "content type : text/html" above each ads...

Can i get rid of this text on my pages ?

Thanks...
Quote Reply
Re: Need help with ads display! In reply to
Please post one Topic per forum at a time.

Wink

Reading through duplicate Topics is annoying.

I will attempt to answer your question in your duplicate Topic.

Wink

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums