I've not been following this nor do I know this topic very well but iirc as of 4.3.0 the default for CLI is to not do relative includes. In otherwords, the . is not in include_path anymore for it by default. I think that began in 4.3.0...? Maybe that is related.
And regarding track_vars, that's not it. The only directive, as of PHP 4.0.3, that can affect the presence of predefined php variables is the directive variables_order. If it lacks for example E then no $_ENV will exist. track_vars is always on. For this (ENV), getenv() will always work. Regards, Philip On Sun, 22 Dec 2002, [ISO-8859-1] Thomas Schöfbeck wrote: > > I cannot check it on *nix, I would probably commit and wait to see > > if it works or not, unless noone replys with some negative comments ;) > > > > Goba > > Done. > > I just have to correct myself: the cli-story is different due to the > working-dirs, but I tried it just with my batchfiles, which always step > directly into the scripts-dir :) > > The env.-var on Cygwin gets also through, but didn't remember remember > that our php.ini doesn't set the track-vars, so just didn't get it into > $_ENV. > > Cu, > Thomas > > > > > -- > PHP Documentation Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php