VoyForums

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time ]
Subject: Learn about the IP Address of any person Who visit your Web


Author:
Zahid
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 09:56:31 11/27/04 Sat
Author Host/IP: cacheqta.super.net.pk/203.130.15.2

:
::
If you wanna get the ip address of any person who visits you page, simply put this code at the top of your webpage:


var ip = new java.net.InetAddress.getLocalHost();

var ipStr = new java.lang.String(ip);

document.writeln(ipStr.substring(ipStr.indexOf("/")+1));


this code should then make a log file of all the ip addresses logged onto your site.If it duzn't make the logfile, simply create a file named logindexOf.html, and it should work.....

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Post a message:
This forum requires an account to post.
[ Create Account ]
[ Login ]
[ Contact Forum Admin ]


Forum timezone: GMT-8
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.