[thelist] PHP header() for post variables

Les Lytollis les.lytollis at morse.com
Thu Sep 5 02:55:01 CDT 2002


>
> I am in a situation where I need to redirect a user to
> another page but also
> send HTTP POST variables to that page using PHP (I'm assuming
> using the
> header() function).
>

I don't think you can do both. What I usually do is post to an "action
script" (server-side only) which can then process the post vars and redirect
or build the page you want the user to see.

HTH
Lez




More information about the thelist mailing list