Stig S. Bakken wrote: > Are you sure that it is in fact the CGI binary you are using? The CLI > version of PHP will not register these variables.
I have php 4.2.1 binary installed as CLI and $_SERVER is registered. [asterix@apenguin asterix]$ php -v 4.2.1 [asterix@apenguin asterix]$ php -r 'var_dump(PHP_SAPI);' string(3) "cli" [asterix@apenguin asterix]$ php -r 'var_dump($_SERVER);' | head array(32) { ["PWD"]=> string(13) "/home/asterix" ["XAUTHORITY"]=> string(25) "/home/asterix/.Xauthority" ["KONSOLE_DCOP"]=> string(29) "DCOPRef(konsole-1482,konsole)" ["GS_LIB"]=> string(30) "/home/asterix/.kde/share/fonts" ["HOSTNAME"]=> [asterix@apenguin asterix]$ -- Alessandro 'Asterix' Astarita <[EMAIL PROTECTED]> "Unix IS user friendly. It's just selective about who its friends are" -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php