PHP error

Function get_magic_quotes_gpc() is deprecated

/homepages/24/d822240584/htdocs/webs/ijaeb/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
+
–
 /homepages/24/d822240584/htdocs/webs/ijaeb/index.php(20): YiiBase::createWebApplication("/homepages/24/d822240584/htdocs/webs/ijaeb/protected/config/main...")
15 require_once($yii);
16 
17 $global = dirname(__FILE__).'/protected/globals.php';
18 require_once($global);
19 
20 $app = Yii::createWebApplication($config);
21 
22 // Set timezone to UTC
23 Yii::app()->setTimeZone("UTC");
24 
25 $app->run();
2026-12-03 05:19:14 Apache Yii Framework/1.1.14