cvs: php-src(PHP_5_3) / php.ini-recommended
| From: | Kalle Sommer Nielsen | Date: | Sun, 26 Oct 2008 15:38:47 +0000 |
| Subject: | cvs: php-src(PHP_5_3) / php.ini-recommended | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-53723@lists.php.net to get a copy of this message | ||
kalle Sun Oct 26 15:38:47 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src php.ini-recommended
Log:
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.23.2.10&r2=1.179.2.11.2.23.2.11&diff_format=u
Index: php-src/php.ini-recommended
diff -u php-src/php.ini-recommended:1.179.2.11.2.23.2.10
php-src/php.ini-recommended:1.179.2.11.2.23.2.11
--- php-src/php.ini-recommended:1.179.2.11.2.23.2.10 Thu Aug 28 05:31:31 2008
+++ php-src/php.ini-recommended Sun Oct 26 15:38:47 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.