getting IP address of router
Jason Shein
jason-xgs8i/e9EeWTtA8H5PvdGCwD8/FfD2ys at public.gmane.org
Mon Feb 7 16:29:26 UTC 2005
On February 7, 2005 09:02 pm, jim ruxton wrote:
> Thanks again Adam. I didn't have Lynx, guess it doesn't come with
> Fedora. I installed it and this works, thanks. What I'd like to easily
> be able to do is grab my internet IP address and pass it on to a script.
> I guess I could parse what comes back from myip.dk but I keep thinking
> there must be an easier way.
> Jim
http://www.whatismyip.com/
or some php I came across a while ago that is said to do just this. I can't
remember where I found it though...
<?
$domain = GetHostByName($REMOTE_ADDR);
print $domain;
?>
--
Jason Shein
Director of Networking, Operations and Systems
Detached Networks
jason-xgs8i/e9EeWTtA8H5PvdGCwD8/FfD2ys at public.gmane.org
( 905 ) - 876 - 4158 Voice
( 905 ) - 876 - 5817 Mobile
http://www.detachednetworks.ca
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list