Q: looking up ip global IP address from inside LAN
Duane Maxwell
dmaxwell at san.rr.com
Tue Jul 29 19:40:16 UTC 2003
> Something on a public webserver (perhaps operated by someone in the
> Squeak community) could be the last ditch place to get the external IP
> address. Sounds like a fun little project.
I have placed a one-line PHP script on one of my servers to return the
remote ip address for testing purposes:
http://www.squeak.info/ip.php
It is simply:
<?php
echo $_SERVER["REMOTE_ADDR"];
?>
It should probably have a better home.
-- Duane
More information about the Squeak-dev
mailing list
|