15 lines
		
	
	
		
			322 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			322 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?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>
 | 
						|
 |