Check what your IP address is Online

Written by James McDonald

May 13, 2012

There are many services that do this but looking in the Debian distributions package change logs I noticed that they are using to return your globally recognized IP address.

And it returns a very nice sparse reply as follows.

<title>Current IP Check</title>
<body>Current IP Address:</body>

So using a simple script you can parse the html and get the IP out for your own needs.

It seems many of the other websites that return your IP address have about 500KB of adds on the page. So this is definitely a winner.


Submit a Comment

Your email address will not be published.

You May Also Like…


Zebra Printer Language The above website has a page where you can enter ZPL and it...

PHP Iterators

Just came across a Youtube talk "Iterators in PHP" by Jake Smith published in 2014 that steps through the many...