Page 1 of 1
want to login on other site with the help of curl function??
Posted: Fri Oct 19, 2007 5:24 am
by djdon11
Hi friends..
i have an issue
actually i want to login on yahoo suppose .. but not with the login page of yahoo.com , that means i made a login form where i will enter the username & password of my yahoo account .. now i want to login on yahoo through my login form ... is it possbile through curl function of php ????
if anybody have any kind of idea than it is most welcome
Thanks
Posted: Fri Oct 19, 2007 9:01 pm
by ASDen
i think yahoo uses a simple get call for logging in so [s]u[/s]
you can log in easily(use webdev extension/livehttpheaders/ or just read the source)
i don't know why you want but as you call yahoo will keep asking for user/pass during your session which may corrupt [s]ur[/s]
your attempt
Anyway just try it
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.
Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.
Posted: Sat Oct 20, 2007 9:14 am
by aaronhall
Also consider the possibility of session cookies being sent to you before you post to the login page, and referrer header checks
Use Wget command
Posted: Sat Oct 20, 2007 1:19 pm
by regexpert
If you can use system or shell_exec function, and send commands to the command line, I recommend you to use wget since it's faster than all the other solutions.