PHP Error

Description

Function get_magic_quotes_gpc() is deprecated

Source File

/home/arabicre/public_html/protected/libs/yii-framework/web/CHttpRequest.php(87)

00075:         parent::init();
00076:         $this->normalizeRequest();
00077:     }
00078: 
00079:     /**
00080:      * Normalizes the request data.
00081:      * This method strips off slashes in request data if get_magic_quotes_gpc() returns true.
00082:      * It also performs CSRF validation if {@link enableCsrfValidation} is true.
00083:      */
00084:     protected function normalizeRequest()
00085:     {
00086:         // normalize request
00087: if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc())
00088: { 00089: if(isset($_GET)) 00090: $_GET=$this->stripSlashes($_GET); 00091: if(isset($_POST)) 00092: $_POST=$this->stripSlashes($_POST); 00093: if(isset($_REQUEST)) 00094: $_REQUEST=$this->stripSlashes($_REQUEST); 00095: if(isset($_COOKIE)) 00096: $_COOKIE=$this->stripSlashes($_COOKIE); 00097: } 00098: 00099: if($this->enableCsrfValidation)

Stack Trace

#0 /home/arabicre/public_html/protected/libs/yii-framework/web/CHttpRequest.php(76): CHttpRequest->normalizeRequest()
#1 /home/arabicre/public_html/protected/libs/yii-framework/base/CModule.php(363): CHttpRequest->init()
#2 /home/arabicre/public_html/protected/libs/yii-framework/base/CApplication.php(447): CWebApplication->getComponent()
#3 /home/arabicre/public_html/protected/libs/yii-framework/web/CWebApplication.php(589): CWebApplication->getRequest()
#4 /home/arabicre/public_html/protected/libs/yii-framework/base/CApplication.php(121): CWebApplication->init()
#5 /home/arabicre/public_html/protected/libs/yii-framework/YiiBase.php(112): CWebApplication->__construct()
#6 /home/arabicre/public_html/protected/libs/yii-framework/YiiBase.php(85): createApplication()
#7 /home/arabicre/public_html/index.php(13): createWebApplication()
2024-03-28 13:46:29 LiteSpeed Yii Framework/1.1.4