imported_JakeC
11-30-2002, 05:18 PM
What is the code that inserts text into the input fields of the login prompt?
https://vborg.vbsupport.ru/external/2002/11/1.gif
Here is my code:
<form action="member.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="action" value="login">
<input type="text" class="bginput" name="username" size="7" value="username">
<input type="password" class="bginput" name="password" size="7" value="password">
<input type="submit" class="bginput" value="Login!">
</form>
Here is the code from the picture above:
<form action="member.php" method="post">
<tr>
<td nowrap align=right><font class="sf"><b>Not cookied?</b><br>Login with username and password:</font></td>
</tr><tr>
<td nowrap align=right><input type="hidden" name="s" value="bb45cf602fcf1afed706adec0a1b58dc">
<input type="hidden" name="action" value="login">
<input type="text" class="bginput" name="username" size="10" value="username" onFocus="this.value='';">
<input type="password" class="bginput" name="password" size="10" value="password" onFocus="this.value='';">
<input type="submit" class="bginput" value="Login!"></td>
</tr>
</form>
I know it must be right in front of me, but what am I doing wrong?
https://vborg.vbsupport.ru/external/2002/11/1.gif
Here is my code:
<form action="member.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="action" value="login">
<input type="text" class="bginput" name="username" size="7" value="username">
<input type="password" class="bginput" name="password" size="7" value="password">
<input type="submit" class="bginput" value="Login!">
</form>
Here is the code from the picture above:
<form action="member.php" method="post">
<tr>
<td nowrap align=right><font class="sf"><b>Not cookied?</b><br>Login with username and password:</font></td>
</tr><tr>
<td nowrap align=right><input type="hidden" name="s" value="bb45cf602fcf1afed706adec0a1b58dc">
<input type="hidden" name="action" value="login">
<input type="text" class="bginput" name="username" size="10" value="username" onFocus="this.value='';">
<input type="password" class="bginput" name="password" size="10" value="password" onFocus="this.value='';">
<input type="submit" class="bginput" value="Login!"></td>
</tr>
</form>
I know it must be right in front of me, but what am I doing wrong?