On 5/24/06, afan@xxxxxxxx <afan@xxxxxxxx> wrote:
if magic_quotes_gpc is On, does it add slashes in front of quotes when submit through form? Mean, if I submit in input form (text) afan's "crazy" web, after echo $_POST['record']; I'll get afan\'s \"crazy\" web. Is this because of magic_quote_gps is On?
Yep! http://us2.php.net/magic_quotes "What are Magic Quotes When on, all ' (single-quote), " (double quote), \ (backslash) and NULL characters are escaped with a backslash automatically. This is identical to what addslashes() does." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php