Skip to main content.
home | support | download

Back to List Archive

question about the sample cgi program

From: Aaron Bazar <aaronb(at)not-real.spamcop.net>
Date: Mon Nov 08 2004 - 14:28:16 GMT
 Hello!

I am using the sample cgi program (the simple one) with the template
toolkit. I need to URL encode one of the data fields in the returned data.
Where in the program can I do this? Basically, I am looking for a place to
run the following on the correct data item:

 s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/seg;

thanks!


Aaron Bazar
http://www.zzzgifts.com/
Received on Mon Nov 8 06:28:20 2004