This is the program that I use for dnsexit (a dynamic DNS update place): http://serve.me.nus.edu.sg/limcg/getip.html
You could very easily adapt the perl code in getip to just return the current external ip address as well. A couple cut's'n'pastes and you're back in business.
Chris.
On 6/21/05, Valeriu Cerchez <[EMAIL PROTECTED]> wrote:
I'm trying to find out a(/n easy) way to determine
what is my dynamic IP assigned by my ISP (not my
internal DHCP). I wish to make a script to determine
that by request.
I would greatly appreciate any suggestion.
Thanks, Val.
__________________________________
Discover Yahoo!
Use Yahoo! to plan a weekend, have fun online and more. Check it out!
http://discover.yahoo.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
<=> A glass of water is filled halfway. One might say, "It is half-full," while another might say, "It is half-empty."
<=> The truth of the matter is that they are both wrong. It is just half-filled.