Re: how to redirect with post method
| From: | Daniel Clark | Date: | Fri, 28 May 2004 17:32:06 +0000 |
| Subject: | Re: how to redirect with post method | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187151@lists.php.net to get a copy of this message | ||
I don't believe you can sent those post variables on the URL.
Either as GET variables on the URL.
Set Session variables and read on the next page.
Or setup a <FORM> with hidden post variables populated with the $post
variables, and JavaScript to auot submit onload.
> Hello,
> I have a webpage that I'm redirecting to other page with header command,
> for instance:
> header("location:information.php?cod1=$cod1&cod2=$cod2&...codn=$codn");
>
> I need send all vars (cod1, cod2, ..codn) on POST method, How Can I do
> this? thanks.