note 94755 deleted from function.mysql-real-escape-string by danbrown

From: Date: Mon, 23 Nov 2009 15:34:09 +0000
Subject: note 94755 deleted from function.mysql-real-escape-string by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-163193@lists.php.net to get a copy of this message
Note Submitter: nomail at nomail dot com ---- foreach(array('_GET','_POST','_COOKIE','_REQUEST') as $tosecure) { $$tosecure = array_map('trim', $$tosecure); if(get_magic_quotes_gpc()) $$tosecure = array_map('stripslashes', $$tosecure); $$tosecure = array_map('mysql_real_escape_string', $$tosecure); }

« previous php.notes (#163193) next »