Ok, basic and simple PHP script you can add to your website. In any file with the extension .php you can put this script. Basically what it does is show the servers external ip address, even when visited by the server itself. (Typically when a server visits its own server, it will show 127.0.0.1) This comes in handy when you have a dynamic ip especially, this way you dont have to keep your website up to date with your ip everytime it changes :P (if you know a little coding maybe even make an automatic server.dat maker

)
Script:
PHP Code:
<?php
$page_contents = file_get_contents("http://www.whatismyip.org/");
//You can use any website you want (that shows your ip) to get an ip address, this is the fastest one because it doesnt have to go threw a lot of page content before the page loads
$regex = "([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})";
preg_match($regex , $page_contents, $matches);
echo 'Your External IP: <strong>' . $matches[0] . '</strong>';
?>