Странность с magic_quotes_gpc (IIS)

M3Y

Guest
Странность с magic_quotes_gpc (IIS)

Возникла дурацкая ситуация:
есть IIS 6, php4.3.x и включенная в php.ini опция magic_quotes_gpc=On (остальные magic выключены).
При попытке выключить magic_quotes_gpc в определенной директории phpinfo показывает что она выключена (Local), но она работает.
Вопрос такой: можно это как-то побороть или сразу забить и потратить время на stripslashes?
 

Фанат

oncle terrible
Команда форума
слушай, а как под иис опции настраиваются локально?
 

M3Y

Guest
В мане:
When running PHP on Windows, the configuration values can be modified on per-directory basis using the Windows registry. The configuration values are stored in the registry key HKLM\SOFTWARE\PHP\Per Directory Values, in the sub-keys corresponding to the path names. For example, configuration values for the directory c:\inetpub\wwwroot would be stored in the key HKLM\SOFTWARE\PHP\Per Directory Values\c\inetpub\wwwroot. The settings for the directory would be active for any script running from this directory or any subdirectory of it. The values under the key should have the name of PHP configuration directive and the string value. PHP constants in the values would not be parsed.
 
Сверху