How can I get the remote IP address onto an HTML page?
I have discovered that, if I change the filename to index.
shtml, this switches on SSI and I can use something like the following:
Code:
<a href="mailto:<!--#echo var='REMOTE_ADDR'-->@mysite.co.uk">
This works fine but it generates the address in the usual xx.xx.xx.xx format. I would prefer it as an 8-digit hexadecimal number so as not to put peeps off.
This code also has a problem with NTLs transparent caches since it reports their IP and not the user's. I seem to remember Sir Robin pointing out that the new caches were configured incorrectly.
Any ideas?