note 29192 rejected from function.get-magic-quotes-gpc by nicos
| From: | nicos@php.net | Date: | Wed, 05 Feb 2003 20:04:17 +0000 |
| Subject: | note 29192 rejected from function.get-magic-quotes-gpc by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-43472@lists.php.net to get a copy of this message | ||
I think, the previous example need some corrections:
If magic_quotes_runtime is enabled, most functions that return data from any sort of external
source including databases and text files will have quotes escaped with a backslash. If
magic_quotes_sybase is also on, a single-quote is escaped with a single-quote instead of a
backslash.
(from http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-runtime)
So if both flags magic_quotes_runtime and magic_quotes_sybase
this code won't function properly.