J R wrote:
try to use this few lines of code. function stripMagicQuotes(&$var) { if (get_magic_quotes_gpc()) { $var = stripslashes($var); } return $var; } this way you don't really have to worry if magic quotes is on or off.
Then he has to modify all the code to call that function ;) -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php