Hey!
Does anyone know how to turn magic_quotes_gpc = On using a .htaccess? Do I just put that code into a .htaccess or is there some other code I need?
Thanks.
swissmonk
06-02-2001, 08:58 AM
insert in your .htaccess
php_value magic_quotes_gpc 1
Chris
06-02-2001, 09:44 AM
Why don't you just edit php.ini and turn magic quotes on for all server?
Heh.. well I decided after all to edit the php.ini and when I did, I noticed that magic quotes WERE On, so than I took the code php_value magic_quotes_gpc 1 .. change the 1 to a 0 and placed it in a .htaccess file and now it works. Heh. lol.
diyoha
08-01-2001, 10:11 AM
Originally posted by Chris
Why don't you just edit php.ini and turn magic quotes on for all server?
does anyone know where the php.ini file is in the raq4i
thanks
David
Eagle
08-02-2001, 07:28 PM
hmm, what is this for actually?
:D
acetate
08-02-2001, 08:08 PM
it magicly adds slashes \ where quotes " or ' are when submitting forms.. Helpful if you are querying to a db, bad if your not!
Eagle
08-02-2001, 08:10 PM
what do you suggest?
turn on or off?
I noticed PHPmyAdmin suddenly started complaining on one of our RaQ4s that it suddenly was turned off.... :confused:
acetate
08-02-2001, 08:14 PM
Well.. Depends.. Does your client's use PHPmyAdmin alot?? If so.. turn it on.. If you clients wants to turn it off themselves, they have to send a header on pages which that want it off.