Ok. I've tried using this method of stripping all of the slashed from $_GET. The code is:
<?php set_magic_quotes_runtime(0);
if (get_magic_quotes_gpc ()) {
array_stripslashes($_POST);
array_stripslashes($_GET);
array_stripslashes($_COOKIES);
}
function array_stripslashes(&$array) {
while (list($key) = each($array)) {
if (is_array($array[$key])) {
stripslashes_array($array[$key]);
} else {
$array[$key] = stripslashes($array[$key]);
}
}
}
?>
I did work.... to an extent..
Before:
Don\\\\'t
After:
Don\\'t
Why hasn't stripslashes got rid of all the slashes? it's left 3 there! Why? Thx.