note 6669 modified in get_magic_quotes_gpc by ronabop

From: Date: Wed, 06 Dec 2000 06:25:25 +0000
Subject: note 6669 modified in get_magic_quotes_gpc by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-8460@lists.php.net to get a copy of this message
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. http://www.php.net/manual/function.get-magic-quotes-gpc.php

« previous php.notes (#8460) next »