note 80105 added to function.get-magic-quotes-gpc

From: Date: Sat, 29 Dec 2007 17:37:50 +0000
Subject: note 80105 added to function.get-magic-quotes-gpc
Groups: php.notes 
Request: Send a blank email to php-notes+get-134135@lists.php.net to get a copy of this message
If your Application checks if magic quotes gpc in on using this function, then you will get an undefined function in php6 as get_magic_quotes_gpc has been removed because magic quotes was removed in php6. so if MQ is off then it is safe to use a function that returns 0. <?php if(!function_exists('get_magic_quotes_gpc')) { function get_magic_quotes_gpc() { return 0; } } ?> ---- Server IP: 69.147.83.197 Probable Submitter: 82.194.62.230 (proxied: 89.148.24.23) ---- Manual Page -- http://www.php.net/manual/en/function.get-magic-quotes-gpc.php Edit -- https://master.php.net/note/edit/80105 Del: integrated -- https://master.php.net/note/delete/80105/integrated Del: useless -- https://master.php.net/note/delete/80105/useless Del: bad code -- https://master.php.net/note/delete/80105/bad+code Del: spam -- https://master.php.net/note/delete/80105/spam Del: non-english -- https://master.php.net/note/delete/80105/non-english Del: in docs -- https://master.php.net/note/delete/80105/in+docs Del: other reasons-- https://master.php.net/note/delete/80105 Reject -- https://master.php.net/note/reject/80105 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#134135) next »