kalle Sun Oct 26 15:39:44 2008 UTC
Modified files: (Branch: PHP_5_2)
/php-src php.ini-recommended
Log:
MFB: Fixed #44748 (php.ini comments on magic_quotes_gpc promote bad practices)
http://cvs.php.net/viewvc.cgi/php-src/php.ini-recommended?r1=1.179.2.11.2.24&r2=1.179.2.11.2.25&diff_format=u
Index: php-src/php.ini-recommended
diff -u php-src/php.ini-recommended:1.179.2.11.2.24
php-src/php.ini-recommended:1.179.2.11.2.25
--- php-src/php.ini-recommended:1.179.2.11.2.24 Mon Feb 11 00:01:29 2008
+++ php-src/php.ini-recommended Sun Oct 26 15:39:44 2008
@@ -95,7 +95,8 @@
; - magic_quotes_gpc = Off [Performance]
; Input data is no longer escaped with slashes so that it can be sent into
; SQL databases without further manipulation. Instead, you should use the
-; function addslashes() on each input element you wish to send to a
database.
+; database vendor specific escape string function on each input element
you
+; wish to send to a database.
; - variables_order = "GPCS" [Performance]
; The environment variables are not hashed into the $_ENV. To access
; environment variables, you can use getenv() instead.
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php