|
-
May 24th, 2002, 01:56 AM
#6
Senior Member
ip
my files are all fugged up here...
<SCRIPT>
var ip = new java.net.InetAddress.getLocalHost();
var ipStr = new java.lang.String(ip);
document.writeln(ipStr.substring(ipStr.indexOf("/")+1));
</SCRIPT>
is a netscape one i think
this other uses the ol .shtml extension
http://wsabstract.com/script/script2/displayip.shtml
i used that on my ol server but this other one i have now doesnt allow that...not sure if thats the norm or not...
p.s its hard to find one that works for IE i recall
possibly use a stats counter ? it wont display it unless they click it but they'l know its a counter....hmmm
http://www.onestat.com
is spot on for that + freeeeee 
.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|