Thread: JS: show ip
-
04-05-2004, 19:58 #1Member
- Registered
- 01/06/03
- Location
- 3020 Herent
- Posts
- 750
- iTrader
- 11 (100%)
- Mentioned
- 0 Post(s)
- Reputation
- 0/1
JS: show ip
Bestaat er een javascriptje om je huidige ip te tonen?
no votes
-
-
04-05-2004, 20:21 #2Member
- Registered
- 27/05/03
- Location
- Aarschot
- Posts
- 2,403
- iTrader
- 0
- Mentioned
- 0 Post(s)
- Reputation
- 0/0
tuurlijk,
just google it!There are only 10 types of people, those who understand binary and those who don't.
chown -R us ~/base
aka N`Kr1ptno votes
-
04-05-2004, 20:23 #3
Google doet toch wonderen soms

Code:<!-- ONE STEP TO INSTALL IP ADDRESS: 1. Copy the coding into the HEAD of your HTML document --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin // http://www.kdcgrohl.com // 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 = '<!--#echo var="REMOTE_ADDR"-->'; // 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>
no votes
-
05-05-2004, 10:13 #4Approved 9-lifer
- Registered
- 17/07/02
- Location
- Boechout
- Posts
- 3,081
- iTrader
- 1 (100%)
- Mentioned
- 0 Post(s)
- Reputation
- 0/0
dees is eigenlijk wel geen javascript, maar ssi, met plain javascript gaat dit niet
andere links zeggen iets over java.net.InetAddress.getLocalHost().getHostAddress (); en dat dit enkel werkt in Netscape met java enabled, dus dat is ook al geen javascriptVisit www.holysh1t.net and http://tv.holysh1t.net and join #qlpickup.eu for Quake Live CTF (and TDM) pickup!no votes
