Re: LAN IP address
| From: | Erik Gyepes | Date: | Mon, 29 Aug 2005 16:25:38 +0000 |
| Subject: | Re: LAN IP address | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-221519@lists.php.net to get a copy of this message | ||
Okay.
There I have script for you: http://pokusy.depi.sk/internalip.zip. Just download it and see the source.
You can see how it works here: http://pokusy.depi.sk/inernalip/ip.php.
Hope that helps you.
Erik
Philippe Reynolds wrote:
Yes, I would hard code my IP address but when the computer crashs the server assigns it a different IP address, so I have to make my code a tad more dynamic... I havn't touched Java in a while, would you know the function for that? Thanks againI 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