I have no idea, I know you can do it in Java and with Jscript ASP. Might wanna try those.<br><br><A HREF="mailto:-jared@aauser.com">-jared@aauser.com</A>
I would agree with imotic's question. Like in Perl you have environment variables, I am not sure about JavaScript.<br><br>And I know that any CGI scripting language can do it since it communicates with the server, but I am not sure about JS.<br><br>-Vic
It is possible with serverside javascript. There are some environmental variables you can access quite easily using ASP and jscript, one of them containing the IP of the user.<br><br><br><A HREF="mailto:jared@aauser.com">jared@aauser.com</A><br><br>
Check DevHead on ZDnet and found this Nutscrap only option:<br><br>< d e v h e a d : s c r i p t l i b r a r y ><br><br>Script: 0344<br>Type: JavaScript<br>------------------------------------------------<br><br>To install this script, follow this simple step:<br><br>1. Cut and paste this into the BODY of your document:<br><br><SCRIPT LANGUAGE="JavaScript"><br><!-- Begin<br><br><!-- This script and many more are available free online at --><br><!-- The JavaScript Source!! <A HREF="
--><br><br>if ((navigator.appVersion.indexOf("4." != -1) && (navigator.appName.indexOf("Netscape" != -1)){ <br>ip = "" + java.net.InetAddress.getLocalHost().getHostAddress();<br>document.write("Your IP address is " + ip);<br>}<br>else {<br>document.write("IP Address only shown in Netscape with Java enabled!"<br>}<br>// End --><br></script><br><br>------------------------------------------------<br>ZDNet (c) 1999. DevHead and ScriptLibrary provides<br>these scripts as a free service to our users. The<br>scripts have been provided by the author for use<br>within the resource and are "freely distributable." <br>Scripts remain the property of the author, unless <br>otherwise indicated.<br><br><br>Does this help?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.