Re: PHP 4.0 Bug #2293: Automatically add slashes in form variable not same as PHP3

From: Date: Tue, 14 Sep 1999 15:31:51 +0000
Subject: Re: PHP 4.0 Bug #2293: Automatically add slashes in form variable not same as PHP3
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-10897@lists.php.net to get a copy of this message
At 16:29 14-9-99 , tcs@cyber.cs.ntou.edu.tw wrote:
From:             tcs@cyber.cs.ntou.edu.tw
Operating system: FreeBSD 3.2 & SunOS 5.5
PHP version:      4.0 Beta 2
PHP Bug Type:     Other
Bug description: Automatically add slashes in form variable not same as PHP3 in PHP3 FILE:test.php3 <?
      print $test;
?> use following link http://compaq.ind.ntou.edu.tw/~tcs/test.php3?test='test' It showed 'test' But in PHP4 It showed \'test\' this is not same as PHP3
This is not a bug this is the feature called magic quotes turn it off and it will work as expected
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Practice makes perfect, but if nobody's perfect, why practice? Wico de Leeuw "Melt_Down", (wico@cnh.nl) ICQ - 33093128 (Web) Programmer / System Administrator

« previous php.dev (#10897) next »