uhmm question...
why do you use
Code:
#
if (get_magic_quotes_gpc()) { // Yes? Strip the added slashes
$_REQUEST = array_map('stripslashes', $_REQUEST);
$_GET = array_map('stripslashes', $_GET);
$_POST = array_map('stripslashes', $_POST);
$_COOKIE = array_map('stripslashes', $_COOKIE);
}
rather then using something like this?
Code:
#
if(get_magic_quotes_gpc()) {
$username = stripslashes($_GET['username']);
$password = stripslashes($_GET['password']);
}
because i usually use that 1 then do the mysql_real_escape thing