[AusNOG] [Chapter-delegates] World Ipv6 Day is going brilliantly!

Mark Newton newton at internode.com.au
Thu Jun 9 09:59:16 EST 2011


On 09/06/2011, at 1:53 AM, Chris Grundemann wrote:

> Websites using PHP can add the following to show the IP (v4 or v6)
> address that the visitor is actually connecting from:
> < ?php
> echo $_SERVER['REMOTE_ADDR'];
> ?>
> A search will likely turn up examples in other languages.

The easiest is a server-side include, which pretty much every web server
supports (doesn't it?)

<!--#echo var="REMOTE_ADDR" -->

  - mark

--
Mark Newton                               Email:  newton at internode.com.au (W)
Network Engineer                          Email:  newton at atdot.dotat.org  (H)
Internode Pty Ltd                         Desk:   +61-8-82282999
"Network Man" - Anagram of "Mark Newton"  Mobile: +61-416-202-223








More information about the AusNOG mailing list