Hello,
I need to determine the web server environment in a script. I noticed SERVER_SOFTWARE and SERVER_SIGNATURE are available in phpinfo() but I am unable to get these predefined vars from SERVER or ENV:
echo $SERVER['SERVER_SOFTWARE'];
echo getenv('SERVER_SOFTWARE');
echo $ENV['SERVER_SOFTWARE'];
etc...
all show nothing. I also don't see it when I do a get_defined_vars(). Is there another way to determine what web server is running or can someone tell me why this isn't working?
Thanks!