novaconium/examples/App/controllers/404.php

15 lines
322 B
PHP
Raw Normal View History

2024-08-31 22:52:59 +00:00
<?php
// Define our status code and message
$status_code = 404;
$status_message = 'The requested resource could not be found.';
// Set the HTTP response code and message
http_response_code($status_code);
header("Content-Type: text/html");
?>
<h1>Error 404 Resource Not found</h1>
<p><?php echo $status_message; ?></p>