Re: apps that need register globals 'on' and others require 'off' on same server

From: Date: Tue, 30 Apr 2002 22:40:16 +0000
Subject: Re: apps that need register globals 'on' and others require 'off' on same server
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95447@lists.php.net to get a copy of this message
In article <CBD6266EA291D5118144009027AA633502FFC10F@xboi05.boi.hp.com>, jason_sheets@non.hp.com (Jason Sheets) wrote: > > From: Jeff Bearer [mailto:jbearer@pittsburghlive.com] > > > > Is there a way to turn register globals on or off in the script at > > runtime? > Chapter 3 in the PHP manual covers setting PHP configuration directives via > the .htaccess file. Yes, and these directives can also be used within containers such as <file>, <location>, and <directory> within the Apache configuration file. Since the OP asked about runtime, there is also ini_set() <http://php.net/ini-set>. -- CC

« previous php.general (#95447) next »