![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
09/08/2004, 12:16
|
![Avatar de SiR.CARAJ0DIDA](http://static.forosdelweb.com/customavatars/avatar68448_2.gif) | | | Fecha de Ingreso: junio-2004 Ubicación: Acá
Mensajes: 1.166
Antigüedad: 20 años, 7 meses Puntos: 4 | |
if (navigator.javaEnabled() && (navigator.appName != "Microsoft Internet Explorer")) {
vartool=java.awt.Toolkit.getDefaultToolkit();
addr=java.net.InetAddress.getLocalHost();
host=addr.getHostName();
ip=addr.getHostAddress();
alert("Tu host es:'" + host + "'\nTu IP es:" + ip);
}
eso no me funciona :s, no pasa nada..... O_o |