Solved

Editing  .htaccess file

Posted on 2012-03-15
1
180 Views
Last Modified: 2012-03-19
I need to disable magic quotes, I haven't really been able to follow what google has offered up. So Im hoping someone here can make it clearer for me to understand


this is what i have already tried
--------------------------------------------------------
# php_value max_execution_time 300000
# php_value max_input_time 120000
# php_value memory_limit 128M
# php_value post_max_size 1024M
# php_value upload_max_filesize 1024M
# php_value session.gc_maxlifetime 144000


php_value magic_quotes 0
php_flag magic_quotes off
php_value magic_quotes_gpc 0
php_flag magic_quotes_gpc off




Options -Indexes
Options +FollowSymlinks
<Files .htaccess>
    deny from all
</Files>
<Files ~ "^(.*)\.(inc|inc\.php|tpl|log)$">
    deny from all
</Files>
<IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
</IfModule>
--------------------------------------------------------------------
Thanks in advance
0
Comment
Question by:seaweed27
1 Comment
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 255 total points
ID: 37727341
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now