PHP Classes

File: error/skin/sk_custom_server_error.php

Recommend this page to a friend!
  Classes of Francisco Nez   BEH Basic PHP Error Handler Class   error/skin/sk_custom_server_error.php   Download  
File: error/skin/sk_custom_server_error.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: BEH Basic PHP Error Handler Class
Handle PHP errors displaying them using templates
Author: By
Last change:
Date: 2 years ago
Size: 1,124 bytes


Class file image Download
 * @var string $error_text
 * @var integer $code
<!DOCTYPE html>
<html lang="en">

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo $code; ?> Error | Server Error Control</title>
    <link rel="shortcut icon" href="/error/skin/src/favicon.ico"/>
    <link rel="icon" href="/error/skin/src/favicon.png" type="image/png"/>

<h3><?php echo $code; ?> - <?php echo $error_text; ?></h3>
    Sorry, but the page you are looking for is not available.<br>Try checking the URL for errors, then press the update button on your browser or try to find help from the technical service.
<button type="button" id="return">Return to Home Page</button>
<!-- Return Home Script -->
<script type="text/javascript">
    document.addEventListener("DOMContentLoaded", function () {
        function refresh() {
            document.location.href = "/";

        document.getElementById("return").addEventListener("click", function () {