Re: [PHP] Auto escaping an apostrophy...

2004-09-20 Thread Todd Cary
Many thanks to all. Todd John Legg wrote: Todd, From the PHP manual: magic_quotes_gpc boolean Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When magic_quotes are on, all ' (single-quote), " (double quote), \ (backslash) and NUL's are escaped with a backslash automatically.

Re: [PHP] Auto escaping an apostrophy...

2004-09-20 Thread John Nichel
Todd Cary wrote: I have noticed that an apostrophy is automatically escaped with a "\", or at least appears to be if the surfer enters an apostrophy in a text field. Has this always been the case or is there a setting in the php.ini file that contols this? Magic quotes. http://us2.php.net/manua

[PHP] Auto escaping an apostrophy...

2004-09-20 Thread John Legg
Todd, >From the PHP manual: magic_quotes_gpc boolean Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When magic_quotes are on, all ' (single-quote), " (double quote), \ (backslash) and NUL's are escaped with a backslash automatically. Note: If the magic_quotes_sybase dire

Re: [PHP] Auto escaping an apostrophy...

2004-09-20 Thread Jason Davidson
Turn off magic_quotes_gpc in the php.ini file, they are bad bad abd.. magic_quotes_gpc 0 Jason Todd Cary <[EMAIL PROTECTED]> wrote: > > I have noticed that an apostrophy is automatically escaped with a "\", > or at least appears to be if the surfer enters an apostrophy in a text > field. Ha

[PHP] Auto escaping an apostrophy...

2004-09-20 Thread Todd Cary
I have noticed that an apostrophy is automatically escaped with a "\", or at least appears to be if the surfer enters an apostrophy in a text field. Has this always been the case or is there a setting in the php.ini file that contols this? Todd -- PHP General Mailing List (http://www.php.net/)