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

2009-07-27 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 Wordpres

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: > >> > >> username : > >> password : > >> > >> > >> > >> >> $user=$_POST['user']; > >> $pass=$_POST['pass']; > >> if(($user=="myname")&&($pass="mypass")) > >> echo "access granted"; > >> else > >> echo "access denied"; > >