My server I needed to enable SSI first but it was possible.
Though looking at the code, I don't think you need the javascript do you?
Couldn't you just do this:
Code:
<html>
<head>
</head>
<body>
<!--#echo var="REMOTE_ADDR"-->
</body>
</html>
but on my computer, when testing it, the IP that is displayed is 127.0.0.1 which isn't my IP.
