//prevents caching
header(\"Expires: Sat, 01 Jan 2000 00:00:00 GMT\");
header(\"Last-Modified: \".gmdate(\"D, d M Y H:i:s\").\" GMT\");
header(\"Cache-Control: post-check=0, pre-check=0\",false);
session_cache_limiter();
session_start();
";
if (preg_match("/Windows NT/", $viewer))
{
echo "require('$abs\config.php');
require('$abs\functions.php');
";
}
else
{
echo "require('$abs/config.php');
require('$abs/functions.php');
";
}
echo "
//this is group name or username of the group or person that you wish to allow access to
// - please be advise that the Administrators Groups has access to all pages.
if (allow_access(Administrators) != \"yes\")
{
";
if (preg_match("/Windows NT/", $viewer))
{
echo "
include ('$abs\\check_login.php');
";
}
else
{
echo "include ('$abs/check_login.php');
";
}
echo "
exit;
}
?>";
?>