Re: Re: How to set register_globals=off in the script?

From: Date: Tue, 21 Dec 2004 23:31:15 +0000
Subject: Re: Re: How to set register_globals=off in the script?
Groups: php.general 
Request: Send a blank email to php-general+get-204894@lists.php.net to get a copy of this message
From: Jason Barnett <jason.barnett@telesuite.com> > Jerry Swanson wrote: > > I have PHP 5.1, is it possible in the code set register_globals=off > > for specific scripts. > > You can change this, and other php.ini directives, with the PHP function > ini_set No, you can't. register_globals cannot be set with ini_set and must be set in php.ini or an .htaccess file. ---John Holmes... UCCASS - PHP Survey System http://www.bigredspark.com/survey.html

« previous php.general (#204894) next »