Thoughts From My Life
Jan
15

What is My IP Address

Written by Neil Galloway
 

I'm sick of having to try and find a site every time I want to get the ip address of my computer. I log in with Remote Desktop Connection quite often or I post a large file to one of my computers at home and want to serve it from there. Unfortunately, I am behind a router and so I always have to log in to it to see my IP address.

I always used other sites and I figured I would just write my own little page to do the same thing. So here it is. This will tell you your exposed address to the internet.

What Is My IP Page

Source

There is basically nothing to this. Your browser passes information to the server and php has a quick and easy way to get it out. If you want the code I use, here it is.

print "This script has detected that your ip address is:
";
$ipaddress = $_SERVER['REMOTE_ADDR'];
print "$ipaddress";

If you enjoyed this post, then make sure you subscribe to my RSS feed or subscribe for email updates. Only one email a day and only if there was a new post.

Virus and Spyware Removal Service

Digg!

Related Posts

Connect to Your Windows XP Professional Computer Through a Router
NHL Games Now Available On The Internet
NHL Centre Ice Online Not Looking So Hot
Those Little House Luxuries
Miraflores and the Larco Mar in Lima, Peru

Email this article

Category: Computers


2 Comments

Anonymous Says:
2007-01-16 01:08:32
Forget adSense for makeing money. www.whatismyip.com sold the domain name on ebay for almost $400,000 about a year ago.

Neil Says:
2007-01-22 22:17:01
Really, that's a lot of money. I wouldn't think there would be much value in a whatsmyip site. I just did it for myself.

Add a Comment

Note: Comments will be visible after they have been moderated.
Name:

Email: (Never made public)

Web Page:
(include http:// or https://)
Comment:


Verification: