📄 init.php
字号:
<?
################################################################################
# phpQuestionnaire Version 2.2 #
# Copyright 2003-2005 chumpsoft, inc. March 28, 2005 #
################################################################################
# SCRiPTMAFiA 2005 - THE DiRTY HANDS ON YOUR SCRiPTS #
################################################################################
error_reporting(0);
ini_set("register_globals", "0");
ini_set("register_long_arrays", true); # Fix for PHP >= 5.0
$GLOBALS["PHPQVERSION"] = '2.2';
if (get_magic_quotes_gpc()) {
if (is_array($HTTP_GET_VARS)) {
while (list($k,$v) = each($HTTP_GET_VARS)) {
if (is_array($HTTP_GET_VARS[$k])) {
while (list($k2,$v2) = each ($HTTP_GET_VARS[$k])) {
$HTTP_GET_VARS[$k][$k2] = stripslashes($v2);
}
@reset($HTTP_GET_VARS[$k]);
}
else {
$HTTP_GET_VARS[$k] = stripslashes($v);
}
}
@reset($HTTP_GET_VARS);
}
if (is_array($HTTP_POST_VARS)) {
while (list($k,$v) = each($HTTP_POST_VARS)) {
if (is_array($HTTP_POST_VARS[$k])) {
while (list($k2,$v2) = each ($HTTP_POST_VARS[$k])) {
$HTTP_POST_VARS[$k][$k2] = stripslashes($v2);
}
@reset($HTTP_POST_VARS[$k]);
}
else {
$HTTP_POST_VARS[$k] = stripslashes($v);
}
}
@reset($HTTP_POST_VARS);
}
if (is_array($HTTP_COOKIE_VARS)) {
while (list($k,$v) = each($HTTP_COOKIE_VARS)) {
if (is_array($HTTP_COOKIE_VARS[$k])) {
while (list($k2,$v2) = each ($HTTP_COOKIE_VARS[$k])) {
$HTTP_COOKIE_VARS[$k][$k2] = stripslashes($v2);
}
@reset($HTTP_COOKIE_VARS[$k]);
}
else {
$HTTP_COOKIE_VARS[$k] = stripslashes($v);
}
}
@reset($HTTP_COOKIE_VARS);
}
}
$GLOBALS["phpQRootDir"] = '.';
$GLOBALS["phpQRootDir"] .= $GLOBALS["inAdmin"] ? "/../" : "/";
include($GLOBALS["phpQRootDir"] . "inc/tlfunctions.php");
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -