X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=web%2FResumes%2FAndrew%2Findex.php;h=ded9b5980c1bdf2e9edbf6ee9e5c41cb6e2ec0f3;hb=977c0efcc8dbb5fe3a10e98aa4e3585d0b9d6f6d;hp=e430b6e599935699a6c2db1edcbe71e48f5b67ca;hpb=8a31102ba73e5acd0f089c68b83345484f31714b;p=clearscm.git
diff --git a/web/Resumes/Andrew/index.php b/web/Resumes/Andrew/index.php
index e430b6e..ded9b59 100644
--- a/web/Resumes/Andrew/index.php
+++ b/web/Resumes/Andrew/index.php
@@ -4,7 +4,7 @@
- ClearSCM: Our People: Andrew DeFaria - President
+ Andrew DeFaria's Resume
@@ -72,45 +72,56 @@ function stoptimer () {
$msg .= 'Somebody just visited your resume.
';
$msg .= "Here's what I know about them:
";
- foreach ($_SERVER as $key => $value) {
- if (preg_match("/^REMOTE/", $key)) {
- $msg .= "$key: $value
";
-
- if ($key == 'REMOTE_ADDR') {
- exec("whois $value", $output, $result);
+ $me = false;
- foreach ($output as $line) {
- $msg .= "$line
";
- } // foreach
+ foreach ($_SERVER as $key => $value) {
+ if (preg_match("/^REMOTE/", $key)) {
+ $msg .= "$key: $value
";
+
+ if ($key == 'REMOTE_ADDR') {
+ // Skip me...
+ if ($value == '70.181.192.116') {
+ $me = true;
+ break;
+ } // if
+
+ exec("whois $value", $output, $result);
+
+ foreach ($output as $line) {
+ $msg .= "$line
";
+ } // foreach
+ } // if
} // if
- } // if
} // foreach
- $msg .= '