How to turn off magic quotes?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to turn off magic quotes?

Postby Liquid » 17. August 2008 17:37

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.
Liquid
 
Posts: 3
Joined: 26. April 2008 18:27

Postby Nobbie » 17. August 2008 18:29

>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.
Nobbie
 
Posts: 8779
Joined: 09. March 2008 13:04

Postby w4vy » 18. August 2008 00:40

The correct php.ini file is inside the apache/bin directory

w4vy
Image
User avatar
w4vy
 
Posts: 153
Joined: 04. June 2008 09:58
Location: England

Postby Liquid » 18. August 2008 21:00

Ahh, yep, I knew I was doing something wrong. :P Working now, thanks!
Liquid
 
Posts: 3
Joined: 26. April 2008 18:27


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 77 guests