Page 1 of 1

How to turn off magic quotes?

PostPosted: 17. August 2008 17:37
by Liquid
I open my php.ini file (xampp -> php -> php.ini) and I find the line magic_quotes_gpc = On and I set it to magic_quotes_gpc = Off instead. But magic quotes is still working. Any idea why? I was never able to turn off magic quotes on my old machine either, but it didn't really matter as I used a function to check if magic quotes was on. But now I just want to completely turn it off. How would I do so?

Thanks.

PostPosted: 17. August 2008 18:29
by Nobbie
>I open my php.ini file (xampp -> php -> php.ini)

Thats the wrong php.ini - run phpinfo() to find out, which php.ini is the right one.

PostPosted: 18. August 2008 00:40
by w4vy
The correct php.ini file is inside the apache/bin directory

w4vy

PostPosted: 18. August 2008 21:00
by Liquid
Ahh, yep, I knew I was doing something wrong. :P Working now, thanks!