Sort of along these lines, has anyone done tests to see if you can 100%
ditch php.ini, and run all the php config info in httpd.conf? I'd much
rather do it that way, I'd only have to maintain 1 file...
_a
On 1/25/01 1:36 AM, in article
Pine.BSF.4.10.10101250910530.26823-10@localhost, "Philip Olson"
[EMAIL PROTECTED] wrote:
Hi Catalin,
I'm trying to decipher what can and cannot be set with ini_set myself and
am slowly figuring it out :-) This cannot be set this way but rather it
could be set through .htaccess so :
this works in .htaccess :
php_value register_globals off
this will not work in script :
ini_set("register_globals","off");
The latter will set the "local value" but it won't be of any use, it will
remain "on" although if you do ini_get("register_globals") right below it
it'll report them as "off" when in fact they are "on" There you have it.
The answer is "NO" as, as quoted from a similar question awhile ago :
"Directives that affect actions that are taken before a script is
parsed, such as mangling EGPCS data, can not be changed by the script."
- Rasmus
This certainly falls into that category.
Regards,
be outside the box.
Philip Olson
http://www.cornado.com/
On Thu, 25 Jan 2001, Catalin Borcea wrote:
Can I set "register_globals=off" using a runtime configuration directive
(something like ?php_register_globals_off?)?
TIA
-- Catalin Borcea --
\\\|///
\\ - - //
( @ @ )
-oOOO(_)OOOo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]