<script language="javascript">
<!--
adresseIP=java.net.InetAddress.getLocalHost();
adip=adresseIP.getHostAddress();
document.write("Votre adresse IP :"+adip+"");
window.location.href = "testip2.php";
//-->
</script>