Solved

ip address

Posted on 2004-03-28
13
175 Views
Last Modified: 2008-03-10
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
0
Comment
Question by:kryme
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +4
13 Comments
 
LVL 3

Accepted Solution

by:
ShadowWarrior111 earned 25 total points
ID: 10701718
If you are using Windows, open a command prompt, and then "ping -a <your IP>".
I hope this is what you looking for.
0
 
LVL 1

Expert Comment

by:nakedghost
ID: 10702163
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
0
 
LVL 11

Expert Comment

by:lbertacco
ID: 10703792
If you want to display the (alphanumerical) name associated to your ip address, run (win9x start) NSLOOKUP <your ip>
0
On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

 

Expert Comment

by:gruntwerk
ID: 10714056
<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>
0
 
LVL 9

Expert Comment

by:DrWarezz
ID: 10747149
I think he's talking about the host name, right?
please get back to us.
[R.d]
0
 

Assisted Solution

by:Hermoinee
Hermoinee earned 25 total points
ID: 10763398
hi  
 hey can u try this java prg

import java.net.*;

class IPAdd {

 public static void main(String args[]) {

           try {
                 InetAddress ip= InetAddress.getLocalHost();
                 System.out.println("IP Address:"+ ip);
                 System.out.println("Host Name:"+ ip.getHostName());
                  }catch(UnknownHostException e){
                        System.out.println("cant find host:"+e);
                  }
          }
 }

this program will sure give u ur ip address in a text format
0
 
LVL 16

Expert Comment

by:Sohel Rana
ID: 10800953
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
0
 
LVL 9

Expert Comment

by:DrWarezz
ID: 10801604
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]
...........
0
 
LVL 16

Expert Comment

by:Sohel Rana
ID: 10989959
Hi:

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

Thanks

rsdn
0
 
LVL 11

Expert Comment

by:lbertacco
ID: 10993500
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.
0

Featured Post

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding a job can be stressful - searches, resume tweaks, and networking events can be super boring. Luckily we're here to help you land your dream job!
One of the biggest challenges facing freelancers is balancing multiple projects and deadlines. Organizational skills and time management are key to keeping up with projects and staying on track. Luckily, we’ve curated seven tools to help you focus o…
Notifications on Experts Exchange help you keep track of your activity and updates in one place. Watch this video to learn how to use them on the site to quickly access the content that matters to you.
Where to go on the main page to find the job listings. How to apply to a job that you are interested in from the list that is featured on our Careers page.

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question