diff options
Diffstat (limited to 'linkshorter/error.php')
| -rw-r--r-- | linkshorter/error.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/linkshorter/error.php b/linkshorter/error.php deleted file mode 100644 index 92ba713..0000000 --- a/linkshorter/error.php +++ /dev/null @@ -1,13 +0,0 @@ -<?php - -require 'functions.php'; -ob_start("sanitize_output"); - -switch($_GET["e"]){ - case("404"): - do_output("<p><strong>The requested url ( ".htmlentities($_SERVER['REQUEST_URI'])." ) wasn't found on this server.</strong></p>", "404 Not Found", false, "<h1>400 - Not Found</h1>"); - break; - - default: - do_output("<p>There was a failure and your request can't be proceeded.</p>", "500 Error", false, "<h1>Error!</h1>"); -} |
