RE: basic authentication and redirection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]
In certain circumstances controlled by my users, I'd like to redirect 
my users to another site, a third party whom we have contracted with. 
The second site uses basic authentication with a simple username and 
password. Can I write my PHP code so my users do not have to login 
(or even know the username/password) on the remote site?

This isn't intended to stop serious hackers, just enough security to 
stop casual passers-by.
[/snip]

Have a look at cURL (http://www.php.net/curl) as it will allow you to
perform remote POST's which may be enough to get you through.

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux