|
OR you could try this. This code must be on a secure page (shtml) and when called upon-it will display the visitors i.p. address 100% of the time. Which you could then dump to a file or whatever.
////////// start here /////////
<html>
<head>
<title>show your visitors ip address</title>
<script language="javascript">
var ip = '<!--#echo var="REMOTE_ADDR"-->'
function ipval() {
document.myform.ipaddr.value=ip;
}
window.onload=ipval
</script>
</head>
<body>
<td>
<form method="POST" action="" name="myform">
IP ADDR:<input name="ipaddr"; id="ipadr" size="15" style="border-style: solid; border-width: 0; ">
</form>
</td>
</body>
</html>
|