|
Posted by wisebede on 06/09/06 14:40
Hello. I've got a PHP page with a form. When the form submits, it
submits back to the same page for validation. If validation passes, I
want to redirect to one of several pages depending on which option was
chosen.
That works fine, but I also want the details on the form to be
available to the $_POST requests on the receiving pages. Now I had
expected the a header redirect would make the request variables
available to the next page too, but that doesn't seem to happen. The
request variables are cleaned out. Is that correct, and is there a way
to pass the form details on to the receiving page? (I could use a
session I suppose, but that would mean having to copy the form
variables out of the form and into a session variable. I don't want to
explicitly do that unless I have to).
Thanks for any help at all,
Matt.
Manchester, UK.
Navigation:
[Reply to this message]
|