note 6669 rejected from function.get-magic-quotes-gpc by didou

From: Date: Thu, 29 May 2003 21:11:09 +0000
Subject: note 6669 rejected from function.get-magic-quotes-gpc by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-49317@lists.php.net to get a copy of this message
Note Submitter: artyom@kmr.kemsu.ru ---- Many times I've seen the situation when I needed to add/remove AddSlashes just because of particular webmaster's wishes. This is very uncomfortable thing. The only way out I found was to make myAddSlashes($st) { if (get_magic_quotes_gpc()==1) { return $st; } else { return AddSlashes($st); } } Or may be anybody knows another approach? Regards, Artyom.

« previous php.notes (#49317) next »