handy ip test
diff --git a/downloadsites/webtools/artifacts/export.rexpfd b/downloadsites/webtools/artifacts/export.rexpfd
deleted file mode 100644
index 50d3539..0000000
--- a/downloadsites/webtools/artifacts/export.rexpfd
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<rexpfd>
- <destination path="dmw2t23.build.eclipse.org:/shared/webtools"/>
- <options createDirectoryStructure="false" createSelectedOnly="true" descriptionFilePath="/downloadsites/webtools/artifacts/export.rexpfd" overWriteExistingFiles="false" saveSettings="true"/>
- <selectedElements>
- <file path="/downloadsites/webtools/artifacts/buildbranches.php"/>
- <file path="/downloadsites/webtools/artifacts/computeMainData.php"/>
- <file path="/downloadsites/webtools/artifacts/dlconfig.txt"/>
- <file path="/downloadsites/webtools/artifacts/export.rexpfd"/>
- <file path="/downloadsites/webtools/artifacts/index.php"/>
- <file path="/downloadsites/webtools/artifacts/p_buildbranches.php"/>
- <file path="/downloadsites/webtools/artifacts/p_dlconfig.txt"/>
- <file path="/downloadsites/webtools/artifacts/p_pagePropertyVariables.php"/>
- <file path="/downloadsites/webtools/artifacts/pagePropertyVariables.php"/>
- <file path="/downloadsites/webtools/artifacts/patches.php"/>
- <folder path="/downloadsites/webtools/artifacts/patches"/>
- </selectedElements>
-</rexpfd>
diff --git a/downloadsites/webtools/artifacts/ip_test.php b/downloadsites/webtools/artifacts/ip_test.php
deleted file mode 100644
index ca01b96..0000000
--- a/downloadsites/webtools/artifacts/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
diff --git a/downloadsites/webtools/artifacts/ipinfo.php b/downloadsites/webtools/artifacts/ipinfo.php
index 59f3f3c..814423b 100644
--- a/downloadsites/webtools/artifacts/ipinfo.php
+++ b/downloadsites/webtools/artifacts/ipinfo.php
@@ -1,28 +1,36 @@
-<?xml version="1.0" encoding="ISO-8859-1" ?>
+<?php
+echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?> \n" ;
+
+ini_set("display_errors", "true");
+error_reporting (E_ALL);
+
+?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<meta
+ http-equiv="Content-Type"
+ content="text/html; charset=ISO-8859-1" />
<title>IP Address Information</title>
</head>
<body>
<?php
- $yourIP = $_SERVER['REMOTE_ADDR'];
- $hostname = gethostbyaddr($yourIP);
- $ip = gethostbyname($hostname);
- $ipsMatch = ($ip == $yourIP);
-
- echo "Your IP: " . $yourIP . "<br />";
- echo "Your hostname (reverse lookup): " . $hostname . "<br />";
- echo "Your hostname's IP (forward lookup of your reverse lookup): " . $ip . "<br />";
-
- if( $ipsMatch ) {
- 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>";
- }
-
+$yourIP = $_SERVER['REMOTE_ADDR'];
+$hostname = gethostbyaddr($yourIP);
+$ip = gethostbyname($hostname);
+$ipsMatch = ($ip == $yourIP);
+
+echo "Your IP: " . $yourIP . "<br />";
+echo "Your hostname (reverse lookup): " . $hostname . "<br />";
+echo "Your hostname's IP (forward lookup of your reverse lookup): " . $ip . "<br />";
+
+if( $ipsMatch ) {
+ echo "Your DNS seems okay!";
+}
+else {
+ echo "Your DNS is broken. This may cause your connection to CVS to be slow!";
+}
+
?>
</body>
</html>