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.
In fact if you redirect from a page that accepts POST data, the POST
data will not be carried along to the next page. That's probably why
John suggested you look at sockets. All in all it's very rarely that you
need to accept post data and then redirect, most of the time you can
either include another script in your main script or do with the data if
there's no alternative other than to redirect.
--
Raditha Dissanayake.
---------------------------------------------
http://www.raditha.com/megaupload/upload.php
Sneak past the PHP file upload limits.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php