I have a problem.
In my index.html I wrote:
and in my login.php3 I wrote
When I fill this form in Netscape with name BombJack and password Mighty and click Submit button I see the line:
Why so? MiBJ,
mighty_bombjack@mail.ru
In my index.html I wrote:
Code:
<SCRIPT language=javascript>
<!--
function doSend() {
document.login.name.value = "My Name";
document.login.pass.value = "My Password";
document.login.submit();
}
// -->
</SCRIPT>
<HTML><BODY>
<FORM NAME=login METHOD=post ACTION=login.php3>
Name: <INPUT TYPE=text NAME=name SIZE=60> <BR>
Password: <INPUT TYPE=password NAME=pass SIZE=60> <BR>
<INPUT onClick="doSend();return false;" VALUE=Submit TYPE=submit>
</FORM>
</BODY></HTML>
Code:
<?
print ("Name=$name, Password=$pass");
?>
Code:
Name=My Name, Password=Mighty
mighty_bombjack@mail.ru