diff options
Diffstat (limited to 'downloadsites/webtools/miscNotUsedNow/ip_test.php')
-rw-r--r-- | downloadsites/webtools/miscNotUsedNow/ip_test.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/downloadsites/webtools/miscNotUsedNow/ip_test.php b/downloadsites/webtools/miscNotUsedNow/ip_test.php deleted file mode 100644 index ca01b9643..000000000 --- a/downloadsites/webtools/miscNotUsedNow/ip_test.php +++ /dev/null @@ -1,15 +0,0 @@ -<?php - echo "Your IP: " . $_SERVER['REMOTE_ADDR'] . "<br />"; - $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); - echo "Your hostname (reverse lookup): " . $hostname . "<br />"; - $ip = gethostbyname($hostname); - echo "Your hostname's IP (forward lookup of your reverse lookup): " . $ip . "<br />"; - - if($ip != $_SERVER['REMOTE_ADDR']) { - echo "<font size=\"+4\" color=\"red\">Your DNS is broken. This may cause your connection to CVS to be slow!</font>"; - } - else { - echo "<font size=\"+2\" color=\"green\">Your DNS seems okay! Thanks!</font>"; - } - -?>
\ No newline at end of file |