Re: Globals on/off , PHP.ini and .htaccess - Best solution?

From: Date: Fri, 24 Oct 2003 14:29:42 +0000
Subject: Re: Globals on/off , PHP.ini and .htaccess - Best solution?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-167433@lists.php.net to get a copy of this message
On Fri, Oct 24, 2003 at 02:59:58PM +0200, Ryan A wrote: : : (we are on a shared host and so dont have access to our php.ini file) : we are planning to turn globals off via a .htaccess file...nearly all our : php files are in root (/www/) , but we are also running a third party : application 1 directory above root (/www/theApplication/) which requires : globals on, when we tried to use a htaccess to turn off globals in the root : all sub directories too went off...so we added another .htaccess in the sub : and we got errors.... : : What to do? how can we have globals off everywhere but in the : /www/theApplication/ You should be able to put an .htaccess file disabling globals into /www/, then put an .htaccess file enable globals into /www/theApplication/. If this setup causes problems, feel free to report back.

« previous php.general (#167433) next »