krabu Posted December 7, 2009 Share Posted December 7, 2009 I have a simple php login page. When a user login a page containing multiple links open. for example i have a link to mail.yahoo.com. What i want is if i click at mail.yahoo.com link, it automatically log in to my mail account. Can i do it in php or there is some other way to accomplish it? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/184265-login-automatically-in-php/ Share on other sites More sharing options...
aeroswat Posted December 7, 2009 Share Posted December 7, 2009 Perhaps if yahoo gives you access to how their system works Quote Link to comment https://forums.phpfreaks.com/topic/184265-login-automatically-in-php/#findComment-972797 Share on other sites More sharing options...
mrMarcus Posted December 7, 2009 Share Posted December 7, 2009 Yahoo offers tons of developer API's and such. might be something in there that allows for logins of the type you speak. Quote Link to comment https://forums.phpfreaks.com/topic/184265-login-automatically-in-php/#findComment-972805 Share on other sites More sharing options...
Psycho Posted December 7, 2009 Share Posted December 7, 2009 From the OPs post I assumed that Yahoo mail was just one example. If you need to do this with multiple sites, you might want to look into using cURL: http://php.net/manual/en/book.curl.php Quote Link to comment https://forums.phpfreaks.com/topic/184265-login-automatically-in-php/#findComment-972806 Share on other sites More sharing options...
krabu Posted December 11, 2009 Author Share Posted December 11, 2009 Thanks for replying. Mail.yahoo.com was just an example. I've looked into Curl and it can be done. But can i do for different users? for example if B open mail.yahoo.com link, his account is opened and if i open it then my account is opened? I will appreciate any help Quote Link to comment https://forums.phpfreaks.com/topic/184265-login-automatically-in-php/#findComment-975597 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.