I need to disable magic quotes gpc for the new version of amxbans to work. How do I do that on a lite webhosting package?
Thanks
How to disable magic quotes gpc
-
- A semi-regular
- Posts: 24
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Mon Jul 12, 2010 3:45 pm
Re: How to disable magic quotes gpc
To do this on any webhosting package, you can create a file called .htaccess in the directory that needs to have the magic quotes disabled. In that file, include this line:
More information on this can be found here: http://php.net/manual/en/security.magic ... abling.php
Code: Select all
php_flag magic_quotes_gpc Off
Re: How to disable magic quotes gpc
What file extension should I use?
Re: How to disable magic quotes gpc
Nevermind, I got it. .htaccess IS the file extension. I had to delete .txt for it to work.