示例#1
0
文件: Input.php 项目: AllenLyu/ko
 private static function _VInit()
 {
     if (!self::$s_bInit) {
         if (get_magic_quotes_gpc()) {
             self::_VStripslashesRecursively($_GET);
             self::_VStripslashesRecursively($_POST);
             self::_VStripslashesRecursively($_COOKIE);
             self::_VStripslashesRecursively($_REQUEST);
         }
         ini_set('magic_quotes_runtime', 0);
         self::$s_bInit = true;
     }
 }
示例#2
0
文件: Base.php 项目: AllenLyu/ko
 /**
  * 参数分析过程
  * 缺省使用 Ko_Tool_Input 的分析过程
  */
 protected function vGetPara()
 {
     $this->_aReq = Ko_Tool_Input::ACleanAll($this->_aReqType);
 }
示例#3
0
 public static function FCookie($sName)
 {
     return Ko_Tool_Input::VClean('c', $sName, Ko_Tool_Input::T_NUM);
 }