micbox Posted December 12, 2006 Share Posted December 12, 2006 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... Link to comment https://forums.phpfreaks.com/topic/30336-url-redirection-sending-params-via-post/ Share on other sites More sharing options...
trq Posted December 12, 2006 Share Posted December 12, 2006 To send variables via POST you would need to use the [url=http://php.net/curl]curl[/url] extension. Link to comment https://forums.phpfreaks.com/topic/30336-url-redirection-sending-params-via-post/#findComment-139572 Share on other sites More sharing options...
micbox Posted December 12, 2006 Author Share Posted December 12, 2006 Could you show some sample with libcurl to solve the issue like I have? Link to comment https://forums.phpfreaks.com/topic/30336-url-redirection-sending-params-via-post/#findComment-139580 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.