Solved

Editing  .htaccess file

Posted on 2012-03-15
1
182 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

856 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