Jump to content

gmail login?


phpaccount

Recommended Posts

If I have a php file linked to a login form, could I login to gmail?

For example, something like this:

header("Location: https://www.google.com/accounts/ServiceLoginAuth?continue=http://mail.google.com/gmail&service=mail&Email=".$LOGIN."&Passwd=".$PASSWORD."&null=Sign+in")

If im correct, this is a  piece of the login form I have:

<DIV class="email-div"><LABEL 
for="Email"><STRONGclass="email-label">Username</STRONG></LABEL><INPUT 
id="Email" name="Email"type="email" 
spellcheck="false"></DIV><DIV class="passwd-div"><LABEL 
for="Passwd"><STRONGclass="passwd-label">Password</STRONG></LABEL><INPUT 
id="Passwd" name="Passwd"type="password"></DIV>

Sorry if I made a mistake, I just followed a guide somewhere how to make a login form, and im completely new to php.

Link to comment
https://forums.phpfreaks.com/topic/281297-gmail-login/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.