in reply to Re: Re: Problems with ;'s
in thread Problems with ;'s
You might also need to escape the $header.use CGI qw( escape ); #[...] if (isset($HTTP_POST_VARS)) { while (list ($header, $value) = each ($HTTP_POST_VARS)) { $QSTRING = $QSTRING.'&'.$header.'='.escape($value); } # I added this: ^^^^^^^ ^ }
Update: jryan points out that I've used a Perl module to update your PHP code. Perhaps someone can pipe up with the way to URL-encode values in PHP or you can just use the original, still-escaped query string instead of rebuilding it from the now-unescaped parameter values.
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: Problems with ;'s
by broquaint (Abbot) on Nov 09, 2001 at 22:47 UTC | |
by LostS (Friar) on Nov 10, 2001 at 00:12 UTC |