diff options
Diffstat (limited to 'globe.php')
-rw-r--r-- | globe.php | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -1,5 +1,5 @@ <?PHP
-date_default_timezone_set('America/Los_Angeles'); +date_default_timezone_set('America/Los_Angeles');
if (!session_id())
session_start();
//session_regenerate_id();
@@ -36,6 +36,12 @@ function CookieLogin() { return;
list($claimedid, $display, $isAdmin) = mysql_fetch_row($result);
+
+ //I last-see you now!
+ $sql = "UPDATE `users`
+ SET `dateLogin` = NOW()
+ WHERE `ID` = '$userID'";
+ mysql_query($sql);
$salt = "33qs5d4j6z98gt1a7n6b5d4x1c66f5nuh8a6d8g9j09aphgf56z5745";
$pepper = "Dear sir, have you ever heard of a wild goose chase?
@@ -146,7 +152,7 @@ Function DoRedirect($message = "Thanks", $to = "http://www.pathery.com/", $durat ";
}
-function EmailError($data) {
+function EmailError($data, $subject = "Pathery Error Report") {
$to = 'snapwilliam@gmail.com';
$mycompany = "Pathery";
@@ -157,8 +163,6 @@ function EmailError($data) { $mime_boundary = "----$mycompany----".md5(time());
# -=-=-=- MAIL HEADERS
- $subject = "Pathery Error Report";
-
$headers = "From: $mycompany <$fromemail>\n";
$headers .= "Reply-To: $mycompany <$replyemail>\n";
$headers .= "MIME-Version: 1.0\n";
@@ -183,4 +187,4 @@ function EmailError($data) { Return $mail_sent;
}
-?> +?>
\ No newline at end of file |