function qualified_me() {
$HTTPS = getenv("HTTPS");
$SERVER_PROTOCOL = getenv("SERVER_PROTOCOL");
$HTTP_HOST = getenv("HTTP_HOST");
$protocol = (isset($HTTPS) && $HTTPS == "on") ? "https://" : "http://";
$url_prefix = "$protocol$HTTP_HOST";
return $url_prefix;
}
$urlis = $_SERVER["REQUEST_URI"];
if (eregi("404",$urlis)){$errormsg = "404";$text="We could not locate the page you requested."; $text2="The page you are looking for has been moved or does not exist on our server.";}
elseif (eregi("500",$urlis)){$errormsg = "500";$text="Internal server error.";$text2="The page you are looking for has been moved or does not exist on our server.";}
elseif (eregi("403",$urlis)){$errormsg = "403"; $text="Access to this page is forbidden."; $text2="The access to the page you are looking for has been denied.";}
else {$errormsg = "message";}
?>
echo "$errormsg $text"; ?>
ERROR
print $errormsg; ?>
print $text; ?>
print $text2; ?>
Please visit
echo qualified_me(); ?> to find the location of the
file you are looking for.
If you see this message as
error please contact us.
You will be redirected in 10 seconds.
|
| |
|
|