XILO Community Forum

Support 0845 034 6444 • Sales 0800 084 2421

Go Back   XILO Community Forum > Customer Support > Support Queries > Disable Magic Quotes
Support Queries This forum should be used to contact XILO's support team should you have any problems with your account.

Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
User
Miselph is on a distinguished road
 
Posts: 1
Join Date: Jan 2008
Default Disable Magic Quotes - 28/03/2008, 1:51 PM

I wish to disable magic quotes, as it is a pain. How can this be done?

I have tried setting
Code:
php_value magic_quotes_gpc off
in the .htaccess file but this just results in a server error.

Thanks

Chris
Reply With Quote
  (#2 (permalink)) Old
Techie & Moderator
Kieran is on a distinguished road
 
Kieran's Avatar
 
Posts: 769
Join Date: Apr 2006
Location: Swindon, UK
Default Re: Disable Magic Quotes - 28/03/2008, 2:41 PM

That would be because php settings must be changed in a custom php.ini file

Create a php.ini file in the directory in which you wish to effect the change and then add the following line to it

Code:
magic_quotes_gpc=0
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Magic quotes travellinglad General Chat 8 20/02/2007 5:43 PM


Powered by vBulletin | XHTML | © Copyright 2003-2008 XILO Communications Ltd. All rights reserved. E&OE