On Tue, 2002-05-21 at 05:16, Ori Staub wrote: > After compiling PHP 4.2.1 as a CGI binary and executing from the command > promot (php -q) I noticed that the new Super Global variables dont work > (in particular I need $_ENV and $_SERVER). > I looked through the manual to find some answers but didnt. Is this a > feature or bug? > Ori
Are you sure that it is in fact the CGI binary you are using? The CLI version of PHP will not register these variables. Try 'php -r var_dump(PHP_SAPI);' to see which one it is. - Stig -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php