Raúl castro wrote:

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.

If you really need to redirect the user to another site and auto-post some data, you should set up the form in the "redirect" page with the values you want (use hidden fields) with the action set to the page you want to "redirect" to, then output javascript which submits the form.


--
paperCrane <Justin Patrin>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to