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

From: Date: Fri, 27 Oct 2000 19:57:47 +0000
Subject: RE: [PHP] not getting form variables using POST.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22371@lists.php.net to get a copy of this message
On 27-Oct-00 Deepak Chawla wrote: > yes. > I'm using it as below > > ------------ 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") > give_access(); > else error_msg("Sorry"); > --------------------------------------- > try if ($uname == "123456" && $passwd == "654321") Regards, -- Don Read dread@texas.net There are old sailors, and there are foolish sailors; but damn few old foolish sailors. ---------------------------------------------

« previous php.general (#22371) next »