ROTECTED]
Subject: [PHP-DB] Re: Redirecting to a new page
Please note, that this is a very insecure way of determining which page a
person gets to view. All they would have to do is enter the admin.php url
in the browser and they get admin access even if they are not admins.
Fred
Matt Stewar
pointed that out ;)
-Original Message-
From: Fred [mailto:[EMAIL PROTECTED]]
Sent: 04 January 2002 21:18
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Re: Redirecting to a new page
Please note, that this is a very insecure way of determining which page a
person gets to view. All th
Message-
From: Fred [mailto:[EMAIL PROTECTED]]
Sent: 04 January 2002 21:18
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Re: Redirecting to a new page
Please note, that this is a very insecure way of determining which page a
person gets to view. All they would have to do is enter the admin.php url
if ($myrow[Admin] == Y){
header (Location:admin.php);
}else{
header (Location:user.php);
}
--
Best regards,
George Nicolae
IT Manager
___
X-Playin - Professional Web Design
www.x-playin.f2s.com
Matt Stewart [EMAIL PROTECTED] wrote in message
[EMAIL
Please note, that this is a very insecure way of determining which page a
person gets to view. All they would have to do is enter the admin.php url
in the browser and they get admin access even if they are not admins.
Fred
Matt Stewart [EMAIL PROTECTED] wrote in message
[EMAIL