Is there any method in HTML or PHP to force-trigger specific HTTP 1.1 errors, such as 404, 403, 400, 500, etc.? I need a method to test an .htaccess setup for error docs on a site on one of my servers.
Is there any method in HTML or PHP to force-trigger specific HTTP 1.1 errors,
Share
Check out the header function, example:
Examples: here!