PHP error

Function get_magic_quotes_gpc() is deprecated

/home/bw6sgx3epz3c/bwiz.com.sg/framework/web/CHttpRequest.php(124)

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

Stack Trace

#7
+
 /home/bw6sgx3epz3c/bwiz.com.sg/index.php(13): YiiBase::createWebApplication("/home/bw6sgx3epz3c/bwiz.com.sg/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-28 09:39:35 Apache Yii Framework/1.1.16