Posted by Gordon Burditt on 12/28/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
[Back to original message]
|