note 47223 deleted from function.get-magic-quotes-gpc by aidan
| From: | aidan@php.net | Date: | Sun, 07 Nov 2004 06:31:38 +0000 |
| Subject: | note 47223 deleted from function.get-magic-quotes-gpc by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-80210@lists.php.net to get a copy of this message | ||
Note Submitter:
----
The following function add slashes in a more portable way:
function magic_addslashes(&$string)
{
if(!get_magic_quotes_gpc==1)
{
addslashes($string);
}
}