You could also set these values in your php.ini:

magic_quotes_gpc = off
magic_quotes_runtime = off

If you do this, then remember when inserting the data into a mysql 
database, it still needs to be escaped:

$sql = sprintf(
     "insert into table (id, field) values ('', '%s')",
     mysql_escape_string($fieldvalue)
);

Mike

Mikael Syska wrote:
> [EMAIL PROTECTED] (Jason Wong) wrote in news:php.general-95848
> @news.php.net:
> 
> 
>>>@news.php.net:
>>>
>>>>stripslashes()
>>>>
>>>thanks, now it works
>>>
>>Do read up on /why/ you need it.
>>
>>
> 
> ohhh, what do u mean???
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to