Re: Cannot access POSTed form data
From: Joe Smith (Joe.Smith_at_inwap.com)
Date: 07/23/04
- Previous message: Joe Smith: "Re: Transferring variables between seperate hosts"
- In reply to: Mark: "Cannot access POSTed form data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 23 Jul 2004 17:20:57 GMT
Mark wrote:
> $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
> $Form{$name} = $value;
UGH! You really ought to be using code that does it right, like CGI.pm
instead of leaving yourself vulnerable to a denial-of-service attack.
> <strong>£$FORM{'grandtotal'}</strong></p>
$FORM is not the same as $Form.
-Joe
P.S. Next time post to comp.lang.perl.misc and not comp.lang.perl
- Previous message: Joe Smith: "Re: Transferring variables between seperate hosts"
- In reply to: Mark: "Cannot access POSTed form data"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|