Re: ' (Single Quotes) in user inputs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



benipmiller@xxxxxxxxxxx (Ben) writes:

> Any ideas on dealing with this would be greatly appreciated.

Disable magic_quotes, and handle all escaping of characters yourself,
I would absolutely prefer that. But beware of sql-injection.

Leave magic_quotes on, and use stripslashes() on your input.

--
Christian Jul Jensen

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux