I agree with IlyaM and couldn't have put it much better myself. However if you really want to unencode urls right this bit of code.
# This is from the CGI programming with perl book on page 21 sub url_decode { my $text = shift(); $text =~ tr/\+/ /; $text =~ s/%([a-f0-9][a-f0-9])/chr( hex( $1 ) )/eg; }
Edited by footpad, ~Tue Nov 27 06:31:02 2001 GMT
In reply to Re: Trying to write a CGI script for this piece of HTML
by Dogma
in thread Trying to write a CGI script for this piece of HTML
by villa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |