result = mysql_query($sql);
> mo> if(!$mysql_num_rows($result) > 0){
> mo> $error = 'Error: Invalid
password';
> mo> include('login.php');
> mo> exit;
> mo> }
> mo>//password ok
> mo>echo '
}
mo>//password ok
mo>echo 'Welcome '.$_POST['username'].'';
mo> }else{
mo> //first pass and $error is still empty
mo> include('login.php');
mo> }
mo> - Original Message -
mo> From: "Tom Rogers" <[
'login.php');
exit;
}
//password ok
echo 'Welcome '.$_POST['username'].'';
}else{
//first pass and $error is still empty
include('login.php');
}
- Original Message -
From: "Tom Rogers" <[EMAIL PROTECTED]>
- Original Message -
mo> From: "Tom Rogers" <[EMAIL PROTECTED]>
mo> To: "matthew oatham" <[EMAIL PROTECTED]>
mo> Cc: <[EMAIL PROTECTED]>
mo> Sent: Thursday, March 04, 2004 12:24 AM
mo> Subject: Re: [PHP] setting request variables
>>
tthew oatham" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, March 04, 2004 12:24 AM
Subject: Re: [PHP] setting request variables
> Hi,
>
> Thursday, March 4, 2004, 9:08:19 AM, you wrote:
> mo> Hi,
>
> mo> I have created a small login system for m
Hi,
Thursday, March 4, 2004, 9:08:19 AM, you wrote:
mo> Hi,
mo> I have created a small login system for my website. However
mo> if a user logs in incorrectly I want to display a error message
mo> currently I use the code
mo> echo "You could not be logged in! Either the username and
mo> pass
Hi,
I have created a small login system for my website. However if a user logs in
incorrectly I want to display a error message currently I use the code
echo "You could not be logged in! Either the username and password do not match or
you have not validated your membership!
Please tr
Hi,
I have created a small login system for my website. However if a user logs in
incorrectly I want to display a error message currently I use the code
echo "You could not be logged in! Either the username and password do not match or
you have not validated your membership!
Please tr
8 matches
Mail list logo