[clug] For dyndns junkies

Stephen Rothwell sfr at canb.auug.org.au
Tue Aug 22 01:06:59 UTC 2017


Hi Scott,

On Tue, 22 Aug 2017 09:42:59 +1000 Scott Ferguson via linux <linux at lists.samba.org> wrote:
>
> cat yourIP.php
> <?php echo $_SERVER['REMOTE_ADDR']; ?>

I am just old school (;-):

$ cat myip.shtml 
<!--#echo var="REMOTE_ADDR" -->
$ cat .htaccess 
Options +Includes

I was going for minimum impact on the server ...
-- 
Cheers,
Stephen Rothwell



More information about the linux mailing list