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
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";
> >
>>
>> username :
>> password :
>>
>>
>>
>> > $user=$_POST['user'];
>> $pass=$_POST['pass'];
>> if(($user=="myname")&&($pass="mypass"))
>> echo "access granted";
>> else
>> echo "access denied";
>> ?>
>>
>> getting "Notice: Undefined index: user" and "Notice: Undefined index: pass".
>> changin
On Mon, Jul 27, 2009 at 10:31 PM, A.a.k wrote:
> Hello
> I have a very simple test form named "pass.php" :
>
>
> username :
> password :
>
>
>
> $user=$_POST['user'];
> $pass=$_POST['pass'];
> if(($user=="myname")&&($pass="mypass"))
> echo "access granted";
> else
> echo "access denied";
>
Hello
I have a very simple test form named "pass.php" :
username :
password :
getting "Notice: Undefined index: user" and "Notice: Undefined index: pass".
changing form action to another page will solve the problem but i want to be
able to use $_POST array on the same page, how can i d
5 matches
Mail list logo