note 80892 deleted from function.mysql-escape-string by danbrown

From: Date: Wed, 12 Aug 2009 21:48:35 +0000
Subject: note 80892 deleted from function.mysql-escape-string by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-159406@lists.php.net to get a copy of this message
Note Submitter: shimy1984 at yahoo dot com ---- A quick function to bypass any trouble with magic quotes: function stripMagicQuotes($var){ if(get_magic_quotes_gpc()){ return stripslashes($var); }else{ return $var; } }

« previous php.notes (#159406) next »