En IP isde med script: Forskjell mellom sideversjoner

Fra Arkiwiki
(Ny side: <html> <HEAD> <SCRIPT LANGUAGE="JavaScript"> // Depending on your server set-up, // you may need to use the ".shtml" // extension [instead of the "html" // or "htm"] as the script uses ...)
 
Ingen redigeringsforklaring
 
Linje 1: Linje 1:
<html>
 
<HEAD>
 


<SCRIPT LANGUAGE="JavaScript">
<SCRIPT LANGUAGE="JavaScript">
Linje 30: Linje 30:


<p><center>
<p><center>
</head>
 
</html>
 
<!-- Script Size:  1.09 KB -->
<!-- Script Size:  1.09 KB -->

Siste sideversjon per 14. jan. 2009 kl. 14:15


<SCRIPT LANGUAGE="JavaScript">


// Depending on your server set-up, // you may need to use the ".shtml" // extension [instead of the "html" // or "htm"] as the script uses Server // Side Includes. To display in the // title bar, exclude the //"<title></title>" code from the page.

// This part gets the IP var ip = ;

// This part is for an alert box alert("Your IP address is "+ip);

// This part is for the status bar window.defaultStatus = "Your IP address is "+ip;

// This part is for the title bar document.write("<title>Your IP address is "+ip+"</title>"); // End --> </script>