Re: LAN IP address
| From: | Erik Gyepes | Date: | Mon, 29 Aug 2005 15:53:29 +0000 |
| Subject: | Re: LAN IP address | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-221515@lists.php.net to get a copy of this message | ||
Hi.
I think you want to get the internal IP adress which computer uses? Am I right?
If yes, that is not possible with PHP directly, but it is possible with Java and PHP.
Erik
Philippe Reynolds wrote:
Hi all, I would like to find a way to get my computers LAN IP address through PHP. I tried using the gethostbyname("HOSTNAME") function, however I only got back the 127.0.0.1 address. Any help is always appreciated Cheers Phil