dt.iki.fi

Get Your IP with this PHP snippet

This site now provides a link to get your external IP.

It contains only this:

<?
echo $_SERVER['REMOTE_ADDR'];
?>

For example, it could be used in a shell script like this:

my_ip="$(curl -k https://dt.iki.fi/ip.php)"