NYCPHP Meetup

NYPHP.org

[nycphp-talk] variables_order

Hans Zaunere zaunere at yahoo.com
Wed Jun 11 11:29:35 EDT 2003


--- Brian Pang <bpang at bpang.com> wrote:
> going back to a topic similar to the "Re: IIS: $_SERVER & referer" of
> mid-May
> 
> A server I am using has variables_order set to "no value" when viewed
> with PHPINFO()
> 
> Using ini_set("variables_order", "EGPCS") PHPINFO() shows the local
> value as being changed, yet I am unable to access any values in those
> arrays.
> 
> Apparently ini_set is not reliable on all config settings, but I find it
> strange that PHPINFO() showed the modification.

ini_set() generally has worked well for me, although sometimes things can't
be set with it (because of the way variable initialization happens).  Even
though variables_order is shown as PHP_INI_ALL (http://us3.php.net/ini_set)
it might be settable only in php.ini/httpd.conf/.htaccess.  See if that makes
a difference.

H





More information about the talk mailing list