header($_SERVER['SERVER_PROTOCOL'] . ' 500 Internal Server Error', true, 500);
More Related Contents:
- Why would one omit the close tag?
- How to prevent Browser cache for php site
- Create a CSV File for a user in PHP
- PHP file_get_contents() and setting request headers
- How to set HTTP header to UTF-8 using PHP which is valid in W3C validator
- HTTP authentication logout via PHP
- Easy way to test a URL for 404 in PHP?
- Force file download with php using header()
- Does $_SERVER[‘HTTP_X_REQUESTED_WITH’] exist in PHP or not?
- How do I find the mime-type of a file with php?
- Return a PHP page as an image
- Show image using file_get_contents
- Check if PHP-page is accessed from an iOS device
- Caching HTTP responses when they are dynamically created by PHP
- Getting HTTP code in PHP using curl
- file_get_contents() give me 403 Forbidden
- Why am I getting mime-type of .csv file as “application/octet-stream”?
- Request headers bag is missing Authorization header in Symfony 2?
- How to get final URL after following HTTP redirections in pure PHP?
- How to use the CSV MIME-type?
- How can I set a cookie and then redirect in PHP?
- PHP cURL how to add the User Agent value OR overcome the Servers blocking cURL requests?
- Handling PUT/DELETE arguments in PHP
- Get “Content-Type” header of request in PHP
- Can I serve MP3 files with PHP?
- Removing X-Powered-By
- Is header(‘Content-Type:text/plain’); necessary at all?
- using header() to rewrite filename in URL for dynamic pdf
- Downloading a file with a different name to the stored name
- Content-length and other HTTP headers?