PHP 4.0 Bug #9299: magic quotes On - always
| From: | ajandris at parks dot lv | Date: | Fri, 16 Feb 2001 15:49:56 +0000 |
| Subject: | PHP 4.0 Bug #9299: magic quotes On - always | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-46742@lists.php.net to get a copy of this message | ||
From: ajandris@parks.lv
Operating system: WinNT4.0 wrkst sp6
PHP version: 4.0.4pl1
PHP Bug Type: PHP options/info functions
Bug description: magic quotes On - always
Magic quotes in PHP.ini file:
; Magic quotes
magic_quotes_gpc=Off ; magic quotes for incoming GET/POST/Cookie data
magic_quotes_runtime=Off ; magic quotes for runtime-generated data, e.g. data from SQL, from exec(),
etc.
magic_quotes_sybase=Off ; Use Sybase-style magic quotes (escape ' with '' instead of
\')
In fields I wrote: ' " at the end of field
Output:
HTTP_POST_VARS["mngr1_surname"] -> 2 surname a \'\"
on Linux it works:
HTTP_POST_VARS["address1"] -> Address 1 ' "
I try to change to magic_quotes=On. It can' t helps.
IIS 4.0 ,CGI version
Andris
--
Edit Bug report at: http://bugs.php.net/?id=9299&edit=1