/    Sign up×
Community /Pin to ProfileBookmark

Gmail account login through my php code

hi i am not able to understand whats the problem with my coe which worked for many others but not for me the code i used is…………………..

<html>
<head>
<style type=”text/css”>

.tl {padding: 0; width: 4; text-align: left; vertical-align: top}

.bubble {background-color:#C3D9FF}

.c {width: 4; height: 4}

.tr {padding: 0; width: 4; text-align: right; vertical-align: top}
.bl {padding: 0; width: 4; text-align: left; vertical-align: bottom}
.br {padding: 0; width: 4; text-align: right; vertical-align: bottom}

.style1 {
font-family: arial, sans-serif;
}
.style2 {
font-family: arial, sans-serif;
text-align: left;
font-weight: bold;
padding: 3px 0pt;
}
</style>
</head>

<body onload=”OnLoad()” bgcolor=”#ffffff” link=”#0000ff” vlink=”#0000ff”>
<form id=”gaia_loginform” action=”https://www.google.com/accounts/ServiceLoginAuth?service=mail” method=”post” onsubmit=”return(gaia_onLoginSubmit());”>
<table align=”center” border=”0″ cellpadding=”0″ cellspacing=”0″ width=”95%”>
<tbody><tr valign=”top”>
<td bgcolor=”#ffffff” valign=”top” width=”99%”>
<table cellpadding=”1″ width=”100%”>
<tbody>
<tr>
<td nowrap=”nowrap” style=”height: 34px”>
<table style=”margin-bottom: 5px;” align=”center” bgcolor=”#c3d9ff” cellpadding=”0″ cellspacing=”0″ width=”100%”>
<tbody><tr>
<td class=”style2″ rowspan=”2″><b>Google Mail</b></td>
<td class=”style1″ align=”right” valign=”top”>
&nbsp;</td>
</tr>
<tr>
<td class=”style1″ align=”left” valign=”bottom”>
<img src=”../../Desktop/ServiceLogin1_files/corner_bl.gif” class=”c” alt=””></td>
<td class=”style1″ align=”right” valign=”bottom”>
<img src=”../../Desktop/ServiceLogin1_files/corner_br.gif” class=”c” alt=””></td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<input name=”ltmpl” value=”default” type=”hidden”>
<input name=”ltmplcache” value=”2″ type=”hidden”>
<div class=”loginBox”>
<table id=”gaia_table” align=”center” border=”0″ cellpadding=”1″ cellspacing=”0″ class=”bubble”>
<tbody>
<tr>
<td nowrap=”nowrap” style=”height: 27px”>
<div align=”right”>
<span class=”gaia le lbl”>
Username:
</span>
</div>
</td>
<td style=”height: 27px”>
<input name=”continue” id=”continue” value=”http://mail.google.com/mail?” type=”hidden”>
<input name=”service” id=”service” value=”mail” type=”hidden”>
<input name=”rm” id=”rm” value=”false” type=”hidden”>
<input name=”ltmpl” id=”ltmpl” value=”default” type=”hidden”>
<input name=”hl” id=”hl” value=”en-GB” type=”hidden”>
<input name=”Email” id=”Email” size=”18″ value=”USERNAME” class=”gaia le val” type=”text”>
</td>
</tr>
<tr>
<td align=”right”>
<span class=”gaia le lbl”>
Password: </span>
</td>
<td>
<input name=”Passwd” id=”Passwd” size=”18″ class=”gaia le val” type=”password” value=”USERPASSWORD”>

</td>
</tr>
<tr>
<td align=”right” valign=”top”>
<input name=”PersistentCookie” id=”PersistentCookie” value=”yes” checked=”checked” type=”checkbox”>
<input name=”rmShown” value=”1″ type=”hidden”>
</td>
<td><span class=”gaia le rem”>
Remember me on this computer. </span></td>
</tr>
<tr>
<td align=”left”>
<input class=”gaia le button” name=”signIn” value=”Sign in” type=”submit”>
</td>
</tr>
</tbody></table>
</div>
</form>
</body>
</html>

PROBLEM is:

—— it opens the gmail login window in new tab and even the user name is entered by itself in gmail through mty code butttttttttttttttt for the paddword it is asking to re enter which i dont want to happen please reply on this

thank uuuuuuuu

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @Pooja_V_M spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...