Re: How to set .htaccess when using Module version.
| From: | Rasmus Lerdorf | Date: | Sat, 01 Jul 2000 15:17:03 +0000 |
| Subject: | Re: How to set .htaccess when using Module version. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4260@lists.php.net to get a copy of this message | ||
> I have to set in .htacces the two following lines:
> php3_magic_quotes_runtime off
> php3_magic_quotes_gpc on
> I have made the .htaccess file and wrote the two lines. When I request a
> phpinfo() these values have not changed. Is there a certian way how I must
> put this in the .htaccess file.
You are using PHP 3 I assume? If so this should work assuming
AllowOverride has "Options" turned on. Check your httpd.conf file.
By the way, those are the default settings for magic quotes, so unless
somebody has gone out of their way to change them, you should already have
those settings.
-Rasmus