Jul 25, 2008

How To Detect Some Other Ip

Free Web Hosting, No Ads > CONTRIBUTE > Computers

free web hosting

How To Detect Some Other Ip

1stJedi
Hello Friend,
How are you all. I got a little problem is how could i detect some other ip by using java or c++ or php or html. Or may be if i mail some of my friend then how do i know that from where he is reading the mail. Guys plz help me

ph34r.gif

Reply

jlhaslip
View the headers of the email which they have sent you, check the log files of your hosting account if they have visited, using php: there is a $_SERVER array of super-globals to access, if they have registered in one of your forums, the IP is usually traced so as to be able to avoid spammers.
There is little privacy on the net.

Reply

jebriggsy
In PHP, there are multiple ways to get an IP address.

$_SERVER['REMOTE_ADDR'] is the super global variable which holds the current viewer's IP address.
A function: $ip = getenv('REMOTE_ADDR');
You can even get their host: $host = gethostbyaddr($_SERVER['REMOTE_ADDR']);

To get their IP from email:
In Outlook Express: File -> Properties -> Details tab
In Thunderbird: View->Headers->All

I don't know any C or Java, so I can't help you there. And you can't use HTML to get an IP address, but you might be able to use JavaScript or VBscript...

Reply

shadowx
Now with the headers thing in an email does that show the user's ip address or that of the sending server? i always thought it was the server as in htmail it says something like:

QUOTE
Received from xxx.hotmail.com: 111.222.333.444


I might be wrong.

I know of two methods if you want their ip from an email, one is to use http://www.self-destructing-email.com/, register there and send the email as per their instructions, when the email is received by them they will get a link when they click it they will see the message as a HTML page and it will log their email and time of reading in an email that you will receive. Its sloppy but it works.

Another way is to use your own website, send them an email with the link to your ip logging page and using php code like that above you can log their ip address, you could also make it look like a fake 4O4 error message-like page and then just say "sorry the site must be down" or something then check your logs on that website and youll have it.

I trust their ip isnt being used for anything malicious smile.gif

Thats the methods i have used in the past. The most covert is the php page idea. Though les detailed unless you wanted to spend a little longer making a more detailed logging system.

With C i guess you could use an ipconfig Command in DOS and then take the output into the C program some how. But i too know nothing about C or Java. Only php! Thing is with C is that it would run on their local machine unless you used some sort of CGI thingy to run it on a web server and if they are behind a router or a similar device you would only get their private ip like 192.168.1.2 and at most their routers ip. The only way to get their internet ip would be to execute the command at the router or to contact the router asking for that info. That could prove rather complicated methinks.

 

 

 


Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. detect other ip - 5.43 hr back. (1)
  2. detection ip address - 9.42 hr back. (1)
  3. how to detect user ip address from php code - 13.19 hr back. (1)
  4. detecting other ip - 16.96 hr back. (1)
  5. how to detect other ip - 26.73 hr back. (1)
  6. detecting ip on websites - 34.32 hr back. (1)
  7. php detect ip - 52.50 hr back. (1)
  8. detect ip from mail - 55.13 hr back. (1)
  9. how to detect user ip html code web page - 57.77 hr back. (1)
  10. what command would be used to detect ip - 67.27 hr back. (1)
  11. php ip number detect - 68.98 hr back. (1)
  12. detect ip free - 82.95 hr back. (1)
  13. global ip address detect - 91.46 hr back. (1)
  14. ip address of some other system - 91.94 hr back. (2)
Similar Topics

Keywords : detect, ip

  1. How To Detect A Keylogger ?
    (7)


      Looking for detect, ip

Searching Video's for detect, ip
advertisement



How To Detect Some Other Ip



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE