Very easy to authenticate and login to yahoo using the cUrl library in php, very easy to do.Just check this link if you are not aware of what cUrl is all about In this line curl_setopt ($ch, CURLOPT_POSTFIELDS, “login=emailid&passwd=password&&submit=Sign In”); Please enter your EMAIL ID and PASSWORD, For examplecurl_setopt ($ch, CURLOPT_POSTFIELDS, “login=admin23123@yahoo.com&passwd=mypass&&submit=Sign In”);
- <?php
- $url =“http://login.yahoo.com/config/login?
- .src=ym&.intl=us&.partner=&.done=http%3A%2F%2Fmail.yahoo.com%2F”;
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_URL, $url);
- curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
- curl_setopt ($ch, CURLOPT_COOKIEJAR, ‘/temp/cookie.txt’);
- curl_setopt ($ch, CURLOPT_POSTFIELDS, “login=emailid&passwd=password&&submit=Sign In”);
- ob_start();
- curl_exec ($ch);
- ob_end_clean();
- curl_close ($ch);
- unset($ch);
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- curl_setopt($ch, CURLOPT_COOKIEFILE, “/temp/cookie.txt”);
- curl_setopt($ch, CURLOPT_URL,“http://us.f515.mail.yahoo.com/ym/login?”);
- $result = curl_exec ($ch);
- curl_close ($ch);
- echo $result;?>

- NOW THIS CODE IS NOT WORKING.WE ARE TRYING OUR BEST FOR AN ALTERNATE CODE, FOR THE TIME BEING YOU CAN USE THIS CODE FOR LEARNING PURPOSE.SORRY FOR THE INCONVINIENCE.[[[[[[[[[[[[[[[[[[[[[[[[[UPDATED CODE COMING SOON]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
Incoming search terms:
- yahoo login php (13)
- yahoo login (9)
- login yahoo php (9)
- php curl yahoo (9)
- php curl login tutorial (9)
- yahoo login using php (8)
- php login with yahoo (8)
- login with yahoo php (8)
- php login yahoo (8)
- php login to yahoo (6)
- curl yahoo (6)
- php curl tutorial login (5)
- yahoo login php curl (5)
- login to yahoo using curl (5)
- PHP yahoo login curl (4)
- sign in with yahoo php (4)
- curl yahoo php (4)
- yahoo curl login php (4)
- curl login tutorial (4)
- yahoo login curl (4)
- curl login yahoo (4)
- login to yahoo php (4)
- yahoo curl (4)
- yahoo plugin code using php (4)
- yahoo login script php (4)
- php log into yahoo (3)
- curl login by php yahoo (3)
- login to yahoo through php (3)
- login to yahoo with php (3)
- how to login using curl in php (3)
- login using curl (3)
- php login with yahoo account (3)
- login with yahoo in php (3)
- logintoyahoo (3)
- curl yahoo login script php (3)
- login curl yahoo (3)
- php curl interview questions (3)
- yahoo login with php (3)
- yahoo login through php (3)
- php curl login (3)
You will also be interested in ,
- Enabling curl on XAMPP for Windows
- Store Data In Remote DataBase Using cUrl or Execute a HTTP POST Using PHP CURL
- Post Data To Another Website Using cURL In PHP
- Create thumbnail using php and gd library
- Detect the user Operating System flavour using php
- Apache AddHandler application/x-httpd-php not working?
- Send mail to admin or website owner when ever the logs show 404 or 500 or 401 or 400 error codes
- Speed up wordpress using .htaccess part 1
- Url rewriting examples using .htaccess
- Ajax Page With PHP

Thanks for tutorial, 1 exemple is more than 1000 words
Hi, I’ve however managed to login to yahoo using curl in php. Please check out the code in :
http://leaveurdream.blogspot.com/2010/05/yahoo-login-using-curl.html
this is not working now
any update?
anyway nice site
Thanks man, hmmm check this probably this could server your purposehttp://mistonline.in/wp/advanced-yahoo-login-without-curl-in-php/