mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
8cfd399c73
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4411 21ef857c-d57f-4fe0-8362-d861dc6d29cd
38 lines
892 B
PHP
38 lines
892 B
PHP
<?php
|
|
$errorcode = $_SERVER['REDIRECT_STATUS'];
|
|
|
|
$pagetitle = "Error ".$errorcode; include("header.php");
|
|
|
|
|
|
function curPageURL()
|
|
{
|
|
$pageURL = 'http';
|
|
if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
|
|
$pageURL .= "://";
|
|
if ($_SERVER["SERVER_PORT"] != "80") {
|
|
$pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
|
|
} else {
|
|
$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
|
|
}
|
|
return $pageURL;
|
|
}
|
|
?>
|
|
|
|
<div class="center">
|
|
<div class="top-portlet">
|
|
|
|
<br>
|
|
<p class="neg">ERROR <?php echo $errorcode ?> : <?php echo curPageURL(); ?></p>
|
|
|
|
<p>* Send us an e-mail and notify us about this error and try again later.</p>
|
|
|
|
<p><?php echo $php_errormsg ?></p>
|
|
|
|
<div class="menu">
|
|
<p><a href="/">Home</a></p>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<?php include("footer.php"); ?>
|