Re: php.ini -related

From: Date: Tue, 09 Apr 2002 19:25:31 +0000
Subject: Re: php.ini -related
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969344225@lists.php.net to get a copy of this message
>> > > Maybe there is another way to handle this issue, and if I am talking >> > > nonsense forget it :-) >> > >> > Not too bad idea. BTW we can also use ini_get() in scripts, >> > and the like to customize the behaviour to the php.ini settings. >> >> Sure, but not possible with register_globals. Abd the current scripts rely >> on this setting. >> If register globals is off argc and argv ist not available. >> >> And in the future versions register_globals is off by default :-) >> No big point, just wanna ask :-) > For register globals: import_request_variables(), or > extract() can be used. BTW isn't argv and argc available > in some $HTTP_anyhing_VARS array? You are right in all points, but the current scripts in /scripts doesn't use any of these possibilities. The build system uses php and rely on some settings I personaolly do not and therefore my local php.ini has other settings. So what can I do? I don't want to rewrite the scripts :-) and I don't want to change my php.ini-settigns only for working with the manual. With a php.ini distributed with the build system it would be very easy to add -c <path/to/php.ini> to the lines calling php. But forget it, I seem to be the only one with this "problem" :-) Friedhelm

« previous php.doc (#969344225) next »