[nycphp-talk] Passing some form values through to a redirected page...
jkapron at NewAgeWeb.com
Sat Feb 1 23:08:40 EST 2003
>So if you
>post to /scriptA.php which does nothing except redirect to /scriptB.php,
>scriptB.php will not actually see the submitted data, unless scriptA.php
>it on the end of the redirected URL, like the browsers do. Either way, the
>redirected script will have to use the GET method, even if the browser
>was a POST method.
That's not really true. Building a query string from POSTed data and
appending it to the url in the header('Location: ..') call is not the only
(and in fact ugly) 'solution'. See my previous message for details.
42.7% of all statistics are made up on the spot.
More information about the talk