homepage Welcome to WebmasterWorld Guest from 54.197.215.146
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Can PHP Automatic Log Me In To Another Site On The Same Server?
I want to use session variables to log in to another script
calvinmicklefinger




msg:3733864
 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

 

jatar_k




msg:3736491
 1:35 pm on Sep 2, 2008 (gmt 0)

have you got any code so far?

if you control the other script you could also write in a bypass for this

calvinmicklefinger




msg:3736513
 2:23 pm on Sep 2, 2008 (gmt 0)

Thanks Jatar,

Yes, I was able to find a guy to code the action for me.

I do not have code access to the second script, but he was able to fill and submit (execute) the form.

Sorry, I forgot my post here when there were no responses.

Kirk

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved