RE: [PHP] magic_quotes_gpc
| From: | Richard Heyes | Date: | Fri, 08 Sep 2000 22:24:53 +0000 |
| Subject: | RE: [PHP] magic_quotes_gpc | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15960@lists.php.net to get a copy of this message | ||
> I'm using Vservers (I'm on a semi dedicated server - I have
> access to config
> files) as my host and they compiled php as an apache module so I can't
> access a php.ini. I'd like to turn of magic_quotes_gpc on one
> of my virtual
> hosts. I was just wondering how I would go about doing this
> without turning
> magic quotes off on all of the virtual hosts? I tried using
> an htaccess file
> with "php3_magic_quotes_gpc Off" but it gave me a 500 error.
when I quit using vservers ('bout a month or so ago) they had php4b2
installed, so perhaps the following (or a variation of) might work:
php_value magic_quotes_gpc Off
--
Richard Heyes
http://www.heyes-computing.net/scripts/