PHP error

Function get_magic_quotes_gpc() is deprecated

/home/irisadvi/je.irisexecutive.com/framework/web/CHttpRequest.php(130)

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

Stack Trace

#7
+
 /home/irisadvi/je.irisexecutive.com/index.php(12): YiiBase::createWebApplication("/home/irisadvi/je.irisexecutive.com/protected/config/main.php")
07 
08 // remove the following line when in production mode
09 defined('YII_DEBUG') or define('YII_DEBUG',TRUE);
10 
11 require_once($yii);
12 Yii::createWebApplication($config)->run();
2024-03-29 18:51:23 Apache Yii Framework/1.1.17