Re: header redirect with POST?
| From: | Chris Shiflett | Date: | Fri, 08 Oct 2004 18:39:48 +0000 |
| Subject: | Re: header redirect with POST? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199015@lists.php.net to get a copy of this message | ||
--- Jay Blanchard <jay.blanchard@niicommunications.com> wrote:
> Is it possible to have a form where I post variables to a processing
> script which would then redirect to another form have variables posted
> from the processing script? I am researching the HTTP header things as I
> write this, but have not found a viable answer that is PHP only.
Luckily, this is not possible as you describe. Imagine if it were - just
by visiting a URL, I could unintentionally use Amazon's one-click
mechanism to make a purchase, even if I am a paranoid user with all
scripting disabled. That's not good.
There are ways to solve your problem, but you have to rethink your
approach a little.
Hope that helps.
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly HTTP Developer's Handbook - Sams
Coming December 2004 http://httphandbook.org/