📄 check.inc.php
字号:
<?/** * * Package Monitor Page * * OsoonCRM Project * Copyright 2003-2004 (c) * http://osooncrm.cosoft.org.cn/ */if (_CHECK_INC_PHP_ != 1):define(_CHECK_INC_PHP_, 1); $uid=$HTTP_COOKIE_VARS["uid"]; $username=$HTTP_COOKIE_VARS["username"]; $password=$HTTP_COOKIE_VARS["password"]; $G_uid=$HTTP_COOKIE_VARS["G_uid"]; $G_username=$HTTP_COOKIE_VARS["G_username"]; $G_password=$HTTP_COOKIE_VARS["G_password"]; $G_name=$HTTP_COOKIE_VARS["G_name"]; $department=$HTTP_COOKIE_VARS["department"]; $departmentid=$HTTP_COOKIE_VARS["departmentid"]; $privilege=$HTTP_COOKIE_VARS["privilege"]; include "include/db.inc.php"; $sql = "select count(*) from user where username='$username' and password='$password'"; $res = mysql_query($sql); $row=@mysql_fetch_row($res); if($row[0]<1) { print "<script>document.location='index.php';</script>"; exit; }endif;?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -