<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Turn off Magic Quotes in PHP via .htaccess</title>
	<atom:link href="http://artlung.com/blog/2007/02/15/turn-off-magic-quotes-in-php-via-htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>http://artlung.com/blog/2007/02/15/turn-off-magic-quotes-in-php-via-htaccess/</link>
	<description>Blogging sporadically since February 2001.</description>
	<pubDate>Wed, 09 Jul 2008 04:34:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: bobou</title>
		<link>http://artlung.com/blog/2007/02/15/turn-off-magic-quotes-in-php-via-htaccess/#comment-332523</link>
		<dc:creator>bobou</dc:creator>
		<pubDate>Wed, 23 Apr 2008 08:22:11 +0000</pubDate>
		<guid isPermaLink="false">http://artlung.com/blog/2007/02/15/turn-off-magic-quotes-in-php-via-htaccess/#comment-332523</guid>
		<description>In ovh, You can do the following instead of php_flag:

SetEnv MAGIC_QUOTES 0

Below is the forum in french:

Modification des valeurs grâce à l'instruction SetEnv

Il est désormais possible de modifier les valeurs de register_globals, magic_quotes, Zend Optimizer ainsi que choisir entre php4 et php5 grâce à l'instruction SetEnv via un fichier .htaccess que vous pouvez créer dans un répertoire donné de votre site via le bloc note sous windows ou tout autre éditeur de texte.


Exemple:

SetEnv REGISTER_GLOBALS 0
SetEnv ZEND_OPTIMIZER 1
SetEnv MAGIC_QUOTES 1
SetEnv PHP_VER 5</description>
		<content:encoded><![CDATA[<p>In ovh, You can do the following instead of php_flag:</p>
<p>SetEnv <span class="caps">MAGIC</span>_QUOTES 0</p>
<p>Below is the forum in french:</p>
<p>Modification des valeurs gr&#226;ce &#224; l&#8217;instruction SetEnv</p>
<p>Il est d&#233;sormais possible de modifier les valeurs de register_globals, magic_quotes, Zend Optimizer ainsi que choisir entre php4 et php5 gr&#226;ce &#224; l&#8217;instruction SetEnv via un fichier .htaccess que vous pouvez cr&#233;er dans un r&#233;pertoire donn&#233; de votre site via le bloc note sous windows ou tout autre &#233;diteur de texte.</p>
<p>Exemple:</p>
<p>SetEnv <span class="caps">REGISTER</span>_GLOBALS 0<br />
SetEnv <span class="caps">ZEND</span>_OPTIMIZER 1<br />
SetEnv <span class="caps">MAGIC</span>_QUOTES 1<br />
SetEnv <span class="caps">PHP</span>_VER 5</p>
]]></content:encoded>
	</item>
</channel>
</rss>
