writing application that will catch user and pass of yahoo mail if right go to yahoomail [closed]
for this app using SSL and connecting to HTTPS is needed I know general things about HTTPS and SSL but I don't know from where I must start to code in PHP any steps to follow? It's just a project I'm a student and a beginner It will not be implemented in any website I just want to see how to code my aim is just learning I don't have any goal to implement this implementing is redeculus cause I know no one has eager to go to it! cause privacy is missing
it's just learning using connect to https I just want some information about code
you need to use curl
to post user-id and password to yahoo's login form and then use various curl options to handle redirects and store and send cookies to the login module. if successful you will get the inbox page. include headers like user agent,content-type,encoding,etc to fool yahoo to think that you are a browser. use firefox
addon liveHTTPheaders
to once login to yahoo mail and have a look at the headers firefox
sends to yahoo and try to mimic that in your script. once you are able to log in, get the html from yahoo and use xpath
on that to get specific parts of the page. have a look at
精彩评论