note 8224 added to gethostbyname
| From: | Ralph | Date: | Thu, 31 Aug 2000 18:34:38 +0000 |
| Subject: | note 8224 added to gethostbyname | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3801@lists.php.net to get a copy of this message | ||
I have just one question: How to find out the IP of my own machine? Host 'localhost'
always returns '127.0.0.1' which is correct, but I also have an
other ip address when I am connected to the internet. How to grab this IP?
http://www.php.net/manual/function.gethostbyname.php