Hi, i have a php server on iis6 win2003. When i write in index.php <? phpinfo(); ?> it brings me the information of php server _SERVER["SERVER_NAM E"] the name of localhost, but when i write the variable $_SERVER['SERVER_NAME'] i get an error PHP Notice: Undefined index: SERVER_NAME. Any ideas please? Is something to do with the php.ini or with the environment variables like DOCUMENT_ROOT?
Thank you.