Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Can PHP Automatic Log Me In To Another Site On The Same Server?


calvinmicklefinger - 8:52 pm on Aug 28, 2008 (gmt 0)


I have a website with a folder protected by Apache Basic Authentication.

On the same server/IP, I have another protected folder which is protected by a Perl script and uses a normal web form with text boxes anmed "login" and "passwd."

Can someone assist me in developing a short PHP snippet that will allow me to click on a link in my first folder and use the PHP_AUTH_USER and the PHP_AUTH_PWD session variables to log in to the second folder with the Perl script?

Any help would be appreciated.

Thanks,
Kirk


Thread source:: http://www.webmasterworld.com/php/3733862.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com