Re: Fwd: [PHP] newbie: problem with $_Post[]

2009-07-28 Thread A.a.k
Hello Richard, that is exactly what I was looking for. thanks alot Paul, I didn't know its possible to use error_reporting(), that's a good hint thanks. btw if you guys know any simple php application that I can study and learn faster than going through books please let me know. I tried

Fwd: [PHP] newbie: problem with $_Post[]

2009-07-27 Thread Richard S. Crawford
form action=pass.php method=POST username : input type=text name=user br / password : input type=password name=pass br / input type=submit value=gop /form ?php $user=$_POST['user']; $pass=$_POST['pass']; if(($user==myname)($pass=mypass)) echo access granted; else echo access denied;

Re: Fwd: [PHP] newbie: problem with $_Post[]

2009-07-27 Thread Paul M Foster
On Mon, Jul 27, 2009 at 09:01:16PM -0700, Richard S. Crawford wrote: form action=pass.php method=POST username : input type=text name=user br / password : input type=password name=pass br / input type=submit value=gop /form ?php $user=$_POST['user']; $pass=$_POST['pass'];