Solved

Editing  .htaccess file

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

Accepted Solution

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

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
spacing 5 27
Get Javascript URL parameters 7 28
html input clean up 3 30
Error installing extension Linux 4 28
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
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.  …
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

707 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

15 Experts available now in Live!

Get 1:1 Help Now