Link to home
Start Free TrialLog in
Avatar of kryme
kryme

asked on

ip address

how can i display my ip address as text?
i've seen this done before
say for example on a website that has a script that logs ip addresses that have visited it someone can have their ip show as a word
ASKER CERTIFIED SOLUTION
Avatar of ShadowWarrior111
ShadowWarrior111

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
winnt start /run/ipconfig |you wil see all yor net setinngs

win9x start /run/winipcfg

as much i understand you wanto see your ip then thiss should help

if not plz explain you self beter
Avatar of lbertacco
lbertacco

If you want to display the (alphanumerical) name associated to your ip address, run (win9x start) NSLOOKUP <your ip>
<HTML>
<HEAD>
<TITLE> Get the visitor's IP address </TITLE>
<!-- Include the serverside IP script -->
<SCRIPT LANGUAGE="JavaScript" src="http://www.jwscripts.com/js/ip.php">

</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
function getIP() {
if (!document.all && !navigator.userAgent.match(/Gecko/i) && navigator.javaEnabled()) {
return (java.net.InetAddress.getLocalHost().getHostAddress().toString());
} else {
// Browsing with IE, Mozilla or Java disabled: Use serverside script
return ip;
}
}
</SCRIPT>
</HEAD>

<BODY>
<SCRIPT LANGUAGE="JavaScript">
document.writeln('<h3>Your ip address is ' + getIP() + '</h3>');
</SCRIPT>
</BODY>
</HTML>
I think he's talking about the host name, right?
please get back to us.
[R.d]
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi

You can use Access Stats 1.12 free script . Please check the demo and click on the lefthand site logfile.txt

http://www.proxy2.de/scripts.php

rsdn
kryme,
it would seem that your Q has been Answered -- so, please close the Q, and reward points.
If your Q has not been answered, then please get back to everyone -- and they can help you.
--
Thanks,
[R.d]
...........
Hi:

As we see the question points is only 50, so I think the moderators decision should be the final.

Thanks

rsdn
Well, I don't really agree. The fact that question is only 50 pts doesn't mean that the asker can just drop the question. Also there are several answers, all of which make sense but just interpret the question in different ways. Since the asker has never bothered to add comments or better specify what he was looking for, I think the question should be closed splitting points among all answerers.