Re: Header Redirect & POST
| From: | Chris Shiflett | Date: | Thu, 25 Mar 2004 21:00:38 +0000 |
| Subject: | Re: Header Redirect & POST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181510@lists.php.net to get a copy of this message | ||
--- Chris Thomas <chris@designvariation.com> wrote:
> Im posting some data to a processing page, where i handle it then use
> Header('Location: other.php') to direct me to another page.
The Location header requires an absolute URL.
> The problem that im running into is that the posted data is available
> in other.php.
I think you made a typo or you're misinterpreting something. The URL
referenced in a Location header will be requested with a GET request, so
it is impossible that any POST data exists.
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly
Coming Fall 2004
HTTP Developer's Handbook - Sams
http://httphandbook.org/
PHP Community Site
http://phpcommunity.org/