kalle Sun Oct 26 15:38:47 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-srcphp.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.10r2=1.179.2.11.2.23.2.11diff_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.10Thu 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.
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php