You are here: Re: More magic quotes questions « PHP Programming Language « IT news, forums, messages
Re: More magic quotes questions

Posted by Gordon Burditt on 11/06/90 11:46

>> Problem is the 'get_magic_quotes_gpc()' function doesn't seem able to pickup
>> the htaccess directive that turns them off, so it is always reported on.
>> This basically traps me into not being able to check if they're on or off,
>> or simply counting on them for my own application and leaving them on (I
>> have no access to the .ini to turn them off at all).

This is ugly, but I suspect it will work: include on each form a
hidden variable containing a value that will be mangled by magic_quotes.
Check to see if the value has been mangled. Act accordingly.

>> Any ideas on the best way to handle this?
>>
>I code for having them off, and look for hosting companies who have them turned
>off. There are thousands of good ones who run that way.
>
>Just like I don't host with companies who run with register_globals turned on.

Speaking of register_globals, when is ini_get('register_globals') going
to become a fatal error?

Gordon L. Burditt

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация