Q: looking up ip global IP address from inside LAN

Justin Holzer justin at ptctraining.com
Tue Jul 29 20:02:18 UTC 2003


Yea, I just went ahead and wrote a simple cold fusion script that does
the same thing. Thanks for all the help though.

- Justin

-----Original Message-----
From: squeak-dev-bounces at lists.squeakfoundation.org
[mailto:squeak-dev-bounces at lists.squeakfoundation.org] On Behalf Of
Duane Maxwell
Sent: Tuesday, July 29, 2003 3:40 PM
To: The general-purpose Squeak developers list
Subject: Re: Q: looking up ip global IP address from inside LAN

> 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