That is a PHP configuration option called Magic Quotes (
http://www.php.net/manual/en/info.configuration.php#ini.magic-quotes-gpc)
that used to be on by default and is now off by default in recent PHP
releases.
- Y
Sent from a gizmo with a very small keyboard and hyperactive autocorrect.
On Dec 9
I run an instance of apache under OS X which I use to pass data to PHP scripts
using ajax. If I have a string such as "O'Toole" (without the double-quotes),
then when the string (which I pass through encodeURIComponent in the browser)
arrives in the PHP script, the single-quote is prefixed with