Removed useless status-function. Use header(':', true, <code>); or (PHP 5.4+) http_response_code(<code>) instead.