Is there a Global Variable that allows me to know the ip address of where my files are hosted?
I've tried:
<?
echo $_SERVER['SERVER_ADDR'];
?>
But I get:
Notice: Undefined index: SERVER_ADDR in c:\domains\site\index.php on line 2
Also, if this is the actual predefined variable to use, will it display the ip of the computer that the router assigned? Or will it display the ip of the modem?
thanks!