[PHP-DEV] PHP 4.0 Bug #9299: magic quotes On - always From: ajandris <email protected>
Date: 02/16/01

From: ajandris <email protected>
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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>