Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php create 404 error

<?php
http_response_code(404);
include('my_404.php'); // provide your own HTML for the error page
die();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #create #error
ADD COMMENT
Topic
Name
2+4 =