svn: /phpdoc/en/trunk/language/ variables.xml

From: Date: Mon, 12 Nov 2012 22:33:39 +0000
Subject: svn: /phpdoc/en/trunk/language/ variables.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-10698@lists.php.net to get a copy of this message
salathe Mon, 12 Nov 2012 22:33:39 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=328330 Log: escaping for the database was done wrong in the past in PHP but this part of the manual still is in the past and does not reflect that change -- Provided by anonymous #19624 (hanskrentel@yahoo.de) Bug: https://bugs.php.net/19624 (Not a bug) win2k/odbc/networked drives Changed paths: U phpdoc/en/trunk/language/variables.xml Modified: phpdoc/en/trunk/language/variables.xml =================================================================== --- phpdoc/en/trunk/language/variables.xml 2012-11-12 22:33:28 UTC (rev 328329) +++ phpdoc/en/trunk/language/variables.xml 2012-11-12 22:33:39 UTC (rev 328330) @@ -913,7 +913,8 @@ The <link linkend="ini.magic-quotes-gpc">magic_quotes_gpc</link> configuration directive affects Get, Post and Cookie values. If turned on, value (It's "PHP!") will automagically become (It\'s \"PHP!\"). - Escaping is needed for DB insertion. See also + It was deemed that this was needed for escaping for DB insertion circa a + decade ago and is a legacy feature now that should be disabled. See also <function>addslashes</function>, <function>stripslashes</function> and <link linkend="ini.magic-quotes-sybase">magic_quotes_sybase</link>. </para>

« previous php.doc.cvs (#10698) next »