Need help !
Web Development
2
Posts
2
Posters
0
Views
1
Watching
-
Try this: window . onerror = null; hostaddress = hostname = "(unknown)"; localhost = java . net . InetAddress . getLocalHost (); hostaddress = localhost . getHostAddress (); hostname = localhost . getHostName (); document . writeln ("<p>Your IP address is <b>" + hostaddress + "</b>.</p>"); document . writeln ("<p>Your hostname is <b>" + hostname + "</b>.</p>");