Re: How to tell IP address of remote machine?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-10-28 at 00:04 +1000, Michael D. Setzer II wrote:
> Something that I've used to setup my own method to get the IP address
> of machines behind a NAT or other setup.
> 
> Just put this in the /var/www/html
> 
> <html><head><title>IP ADDRESS</title>
> <body>
> <?php echo $_SERVER['REMOTE_ADDR']; ?>
> </body>
> </html>

Same thing as I said, just a different methodology...  Using PHP, rather
than SSI.  You can do this with CGI, ASP, and probably dozens of other
languages.  So there's usually some way to get a server to provide that
data.

-- 
[tim@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux