note 103748 deleted from function.addslashes by danbrown

From: Date: Mon, 02 May 2011 16:04:43 +0000
Subject: note 103748 deleted from function.addslashes by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-179337@lists.php.net to get a copy of this message
Note Submitter: Yousef Ismaeil ---- <?php /** * Kill magic quotes gpc * Yousef Ismaeil */ function aslashes($string) { if (get_magic_quotes_gpc()) { $result = stripslashes(addslashes($string)); } else { $result = addslashes($string); } return $result; } ?>

« previous php.notes (#179337) next »