RE: [PHP] not getting form variables using POST.

From: Date: Fri, 27 Oct 2000 12:24:37 +0000
Subject: RE: [PHP] not getting form variables using POST.
Groups: php.general 
Request: Send a blank email to php-general+get-22319@lists.php.net to get a copy of this message
Try this: ------------ part of html file ------------------ <form action="Login.php" method="post"> <input type="text" name="uname" size=10> <input type="hidden" name="passwd" size=10> <input type="submit"> </form> ---------- part of php script -------- if($uname=="123456" && $passwd=="654321") //you must use = twice! give_access(); else error_msg("Sorry"); --------------------------------------- Enjoy... Jirka Hradil

« previous php.general (#22319) next »