|
$name = $_POST['name']; $name = mysql_real_escape_string($name);
Is the above enough to remove any injection or is there anything else that should be done also?
should i remove slashes?
how about get_magic_quotes_gpc ?
thanks Shaz x
__________________
mysql_connect("localhost", "brain", "sharon") or die(mysql_error());
mysql error: brain doesn't exist!
Last edited by Sharon_leic; 02-10-2008 at 01:49 PM..
|