Gossamer Forum
Home : Products : Gossamer Forum : Development, Plugins and Globals :

*NOT* escaping a Global return

Quote Reply
*NOT* escaping a Global return
Hi:

I was going to put in a global "<%ad_top%>" that is a perl call to my ad management program. The global is:

sub {

use LWP::Simple;

my $html = get("http://www.mysite.com/banners.fpl?region=7&mode=SSI&keyword=NULL");

$html ||= "[an error occurred processing this request]";

return $html;

}

Only the code returned is escaped- that is, a "<" is &lt;, etc. So rather than printing the code out, it is all escaped and prints literally. What do I do to fix this?


dave

Big Cartoon DataBase
Big Comic Book DataBase
Subject Author Views Date
Thread *NOT* escaping a Global return carfac 4712 Jun 5, 2003, 11:34 AM
Thread Re: [carfac] *NOT* escaping a Global return
Andy 4643 Jun 5, 2003, 12:09 PM
Thread Re: [Andy] *NOT* escaping a Global return
carfac 4642 Jun 5, 2003, 12:40 PM
Thread Re: [carfac] *NOT* escaping a Global return
carfac 4659 Jun 5, 2003, 12:50 PM
Thread Re: [carfac] *NOT* escaping a Global return
Paul 4648 Jun 5, 2003, 1:00 PM
Thread Re: [Paul] *NOT* escaping a Global return
carfac 4615 Jun 5, 2003, 1:41 PM
Post Re: [carfac] *NOT* escaping a Global return
carfac 4595 Jun 10, 2003, 1:15 PM