For some reason, the php pages that are recieving variables from my html forms are not working correctly. Even this simple example is not working correctly:
<body>
<form>
name:
<input type=text name="username">
<input type=submit value="Submit">
</form>
<br><br>
your name:
<?php
echo($username);
?>
</body>
I get the expected 'undefined variable' warning, but even after i enter something into the field and click submit, it still gives me the warning, and does not display the name. Did I miss some kind of setting in an .ini file or something?
I'm running PHP4.2.1 on Apache1.3.24 on Win2k.
Thanks a lot in advance.