The Little Guy Posted May 30, 2007 Share Posted May 30, 2007 Anyone know how to use PHP to login to a remote site from my site, and grab certain content? basically what I want to do is have a form that logs in to a site, at the moment Gmail, then it will return 5 of the users unread emails. I want a form like this: Enter login name: <input type="text" name="login"><br> Enter password: <input type="password" name="password"><br> <input type="submit" value="Login"> Link to comment https://forums.phpfreaks.com/topic/53655-loggin-in-using-php/ Share on other sites More sharing options...
per1os Posted May 30, 2007 Share Posted May 30, 2007 You would need some type of API from google to do this. That or use cURL to go it across a session, but I think gmail is setup in a way that may prove very difficult to accomplish the task. Link to comment https://forums.phpfreaks.com/topic/53655-loggin-in-using-php/#findComment-265214 Share on other sites More sharing options...
The Little Guy Posted May 30, 2007 Author Share Posted May 30, 2007 any curl tutorials to do this? Link to comment https://forums.phpfreaks.com/topic/53655-loggin-in-using-php/#findComment-265231 Share on other sites More sharing options...
chrisprse Posted May 30, 2007 Share Posted May 30, 2007 Would I be right in thinking that GMail supports POP3? You could modify many POP3 scripts available to do this.. Chris. Link to comment https://forums.phpfreaks.com/topic/53655-loggin-in-using-php/#findComment-265238 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.