IP Chicken (www.ipchicken.com) is a website that will display the IP address of your computer, tablet or phone. While it is very popular, there are actually several useful websites out there that show you your IP address. This can come in handy when you are behind a firewall or router, and need to know the outside, NAT’d IP address. Just browse to the site (www.ipweasel.com, www.ipkitten.com or www.ipchicken.com–pick your animal, there are lots out there) and up pops your ip address and browser information. Did you ever wonder how that works and if you could ever build a cool website like that!?? Well, it’s a basic PHP script that pulls the information from your client when you are using your browser.
Here’s an example:
66.249.65.205
More detailed host address:
crawl-66-249-65-205.googlebot.com
Display browser info:
Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Where you came from (if you clicked on a link to get here):
Page was directly requested
________________________________________________________________
sweet, huh?
You can put some very simple code in your html site (or in this case WordPress) that makes your visitors IP address and information show on the page or post.
I used a WordPress plugin called “Shortcut Exec PHP” to allow the code to run in a post. You can also display it in a wordpress widget, but it requires an additional plugin.
Put the following code in your post:
Here is a txt version for copying and pasting
Of course, you will want to tweak the code, add some relevant content and make the site look somewhat interesting, but its a good start. IP Chicken has owned the IP address finding market for a long time, and now that even Google will tell you your IP address (just type “ip address” in your search bar) the site may be losing some of it’s popularity. Even so it would be hard to compete with the name-brand, but it’s a fun nerdy project anyway!
sources: www.ipchicken.com
1 comment