level2_check.php

来自「This script was designed as a stand alon」· PHP 代码 · 共 24 行

PHP
24
字号
<?php// *************************************************************************************************// Title: 		PHP AGTC-Membership system v1.1a// Developed by: Andy Greenhalgh// Email:		andy@agtc.co.uk// Website:		agtc.co.uk// Copyright:	2005(C)Andy Greenhalgh - (AGTC)// Licence:		GPL, You may distribute this software under the terms of this General Public License// *************************************************************************************************//// THIS IS THE USER LEVEL 2 ACCEPTANCE CHECK// ADD OR INCLUDE THIS AT THE TOP OF ANY PAGES THAT ALLOW USER LEVEL 2 ACCESS session_start();include "config.php";if(!isset($_SESSION['level'])){echo"Error - You have not got authority to enter this page (ERR code: sesslev unset line 8)";		}if ($_SESSION['level'] != "2" and $_SESSION['level'] != "3" and $_SESSION['level'] != "4") {echo"Your are not authorised to access this area - if this is incorrect please contact administration - <a href='login.php'>CLICK HERE TO LOGIN</a>";exit();}?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?