Need to use $_SERVER global variable as IIS does not support getenv() me...

...thod