Gossamer Forum
Quote Reply
banner issue
I am having an include problem in GForum...

I use this same global in Links and I don't have a problem:


sub {
# Display a banner
my $ad;
$ad = `path/to/my/banner/file.cgi`;
$ad =~ s,Content-type:\stext/html,,;
return $ad;

But when I use this in GForum it returns the right html code it should, but encoded...

example &gt... ect.. instead of >...

In other words, it prints the html code instead of reading it.

I tried something like:

use URI::Escape;

$ad = &uri_unescape($ad);

But I get the same results. I have been so caught up in php's ease that I forgot some basic things in perl. I also don't understand why I need to do this in the first place when it works fine in links.

Any suggestings?

- Jonathan
Subject Author Views Date
Thread banner issue jdgamble 1492 May 18, 2006, 5:48 PM
Post Re: [jdgamble] banner issue
jdgamble 1444 May 19, 2006, 6:07 PM