The following quote is from
http://www.php.net/manual/en/configuration.php#ini.magic-quotes-gpc
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
]
Subject: [PHP] clarification on magic quotes
The following quote is from
http://www.php.net/manual/en/configuration.php#ini.magic-quotes-gpc
magic_quotes_gpc boolean
Sets the magic_quotes state for GPC (Get/Post/Cookie)
operations. When
magic_quotes are on, all ' (single-quote
On Thu, 4 Apr 2002, Erik Price wrote:
I was hoping someone could just clarify something for me -- exactly WHAT
is a Get/Post/Cookie operation in this case -- is it just during the
uploading of Get/Post/Cookie data from the user agent, or is it also
when I am taking a $_POST variable and
On Thursday, April 4, 2002, at 02:09 PM, Miguel Cruz wrote:
I find it much simpler to turn it off, and then just addslashes all
strings before they go into the database.
I suppose you're right -- the only time you really need to add the
slashes is right before the data gets inserted. I
4 matches
Mail list logo