Lately I have been writing function after function that gets my server name
www.example.com from an .ini file which I created... then I find this: $_SERVER['SERVER_NAME']. Is there anything wrong with using $_SERVER['SERVER_NAME'] in production? Any caveats, any pitfalls, any dangers?

Thanks in advance,