Revision: 5658
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 23, 2008 14:43 by eeppeliteloop
Initial Code
function remSlash($varvar) { if (get_magic_quotes_gpc()) { $varRem = stripslashes($varvar); } else { $varRem = $varvar; } return $varRem; } // Ex.: $no_slash = remSlash($_POST['name']);
Initial URL
Initial Description
Removes the automatic slashes from POST & GET data if it finds Magic Quotes is activated.
Initial Title
Remove slashes function
Initial Tags
Initial Language
PHP