Page 1 of 1

URL redirection sending params via POST

Posted: Tue Dec 12, 2006 5:01 am
by micbox
I have a PHP script that should redirect to an ASP script (login.aspx) on another host passing it UserName and Password params via POST. The login.aspx, in its turn, on successful login redirects to search.aspx.

How to organize this redirect in PHP? Maybe there is a corresponding PEAR library or some sample script...

Posted: Tue Dec 12, 2006 7:52 am
by feyd
It's not possible to redirect and post at the same time typically.

cURL will be needed to act as a proxy for the user most likely.