SyntaxFix
Write A Post
Hire A Developer
Questions
http_response_code was introduced in PHP 5.4 and made the things a lot easier!
http_response_code(403); die('Forbidden');