Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/yrtinmz/pages/k/ksiegozbior.net/yii/framework/web/CHttpRequest.php on line 122
PHP error

PHP error

Function get_magic_quotes_gpc() is deprecated

/home/yrtinmz/pages/k/ksiegozbior.net/yii/framework/web/CHttpRequest.php(122)

110         parent::init();
111         $this->normalizeRequest();
112     }
113 
114     /**
115      * Normalizes the request data.
116      * This method strips off slashes in request data if get_magic_quotes_gpc() returns true.
117      * It also performs CSRF validation if {@link enableCsrfValidation} is true.
118      */
119     protected function normalizeRequest()
120     {
121         // normalize request
122         if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc())
123         {
124             if(isset($_GET))
125                 $_GET=$this->stripSlashes($_GET);
126             if(isset($_POST))
127                 $_POST=$this->stripSlashes($_POST);
128             if(isset($_REQUEST))
129                 $_REQUEST=$this->stripSlashes($_REQUEST);
130             if(isset($_COOKIE))
131                 $_COOKIE=$this->stripSlashes($_COOKIE);
132         }
133 
134         if($this->enableCsrfValidation)

Stack Trace

#7
+
 /home/yrtinmz/pages/k/ksiegozbior.net/index.php(13): YiiBase::createWebApplication("/home/yrtinmz/pages/k/ksiegozbior.net/protected/config/main.php")
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2024-03-19 03:50:09 Apache Yii Framework/1.1.15