From 27f1a758f0f312e6dedb18f47ce86a6fd1d05d12 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Thu, 31 Jan 2013 04:10:59 -0800 Subject: Error logging. .htaccess cacheing. Modified doredirect to use $mydomain --- errors.php | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 75 insertions(+), 6 deletions(-) (limited to 'errors.php') diff --git a/errors.php b/errors.php index 7b91633..e1621c9 100644 --- a/errors.php +++ b/errors.php @@ -1,11 +1,80 @@ Directed from: $_SERVER[HTTP_REFERER]"; +// echo "
Requested: $_SERVER[REQUEST_URI]"; +// echo "
Loaded: $_SERVER[PHP_SELF]"; -echo "
Directed from: $_SERVER[HTTP_REFERER]"; -echo "
Requested: $_SERVER[REQUEST_URI]"; -echo "
Loaded: $_SERVER[PHP_SELF]"; - -echo "
Go back to Home"; +//echo "
Go back to Home"; +LogError("Request Error: $_GET[error] + REQUEST_URI:$_SERVER[REQUEST_URI] + HTTP_REFERER: $_SERVER[HTTP_REFERER] + REDIRECT_URL: $_SERVER[REDIRECT_URL] + REMOTE_ADDR: $_SERVER[REMOTE_ADDR] +"); ?> + + + +Pathery.com - Error + + + + + + +
+

Oh bother. An Error occured.

+

Something happened.. Not sure what... +
Well I know some things, but I just don't think you care about the details. +
I logged the error and i'll look at it later. - But if this keeps happening please email me. +
Snap@pathery.com +
+

+ +

+Back to ? +

+
+ + + \ No newline at end of file -- cgit v1.2.3