Help !! Re: Page authentication and security levels
Posted: Sat May 03, 2003 11:50 am
I am new to php, trying to add page authentication to certain pages i want secured, ie
if (!class_exists(auth))
{
include ("auth.php");
}
include ("config.php");
// Check for permission to view this page
if ($check["level"] !=
// Check for permission to view this page
if ($check["level"] !=
The above code works fine, but what i need to do is to give other levels access, for example level 8 and level 9, so the page will check if the user has the require access level either 8 or 9.
if (!class_exists(auth))
{
include ("auth.php");
}
include ("config.php");
// Check for permission to view this page
if ($check["level"] !=
// Check for permission to view this page
if ($check["level"] !=
The above code works fine, but what i need to do is to give other levels access, for example level 8 and level 9, so the page will check if the user has the require access level either 8 or 9.