[Last Call] Learn how to a build a cloud-first strategyRegister Now


Turn Magic Quotes GPC for a directory only

Posted on 2007-08-09
Medium Priority
Last Modified: 2011-09-20
How can I turn Magic Quotes GPC off with either .htaccess or a small php.ini file in the directory?
Question by:hankknight
1 Comment
LVL 48

Accepted Solution

hernst42 earned 2000 total points
ID: 19662154
via .htaccess:
php_value magic_quotes_gpc on
See http://www.php.net/manual/en/configuration.changes.php

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month17 days, 22 hours left to enroll

829 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