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.
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
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
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
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/)
5 matches
Mail list logo