RE: [PHP] Best practice to set up register_globals
| From: | Nicolas Verhaeghe | Date: | Fri, 17 Mar 2006 18:45:00 +0000 |
| Subject: | RE: [PHP] Best practice to set up register_globals | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232150@lists.php.net to get a copy of this message | ||
Would this be set in the apache.conf file or the php.ini file?
-----Original Message-----
From: Curt Zirzow [mailto:czirzow@gmail.com]
Sent: Thursday, March 16, 2006 9:19 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Best practice to set up register_globals
On Thu, Mar 16, 2006 at 08:46:07PM -0700, Nicolas Verhaeghe wrote:
> One of my clients has an os commerce install which requires
> register_globals to be set to on, for some reason.
>
> It is set up to off in php.ini, as it should, but I'd like to know
> what the best fashion would be for me to set it on locally for this
> domain only.
Assuming you have apache as your webserver..
If you must set it, you can set it per any apache directive, like a
<VirtualHost>, <Directory> or the like or even a .htaccess (if enabled).
Curt.
--
cat .signature: No such file or directory
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php