If running under fastcgi you can use the very nifty:
fastcgi_finish_request();
http://php.net/manual/en/function.fastcgi-finish-request.php
More detailed information is available in a duplicate answer.
More Related Contents:
- PHP mail() issue
- (PHP) Warning: file_get_contents() [function.file-get-contents]: couldn’t resolve host name
- How to drop empty responses in an array of fields?
- How to use this code my wordpress theme
- How to change mysql to mysqli?
- How to check if an email address exists without sending an email?
- How to make PDF file downloadable in HTML link?
- PHP: Replace umlauts with closest 7-bit ASCII equivalent in an UTF-8 string
- Count number of values in array with a given value
- Which is faster in PHP, $array[] = $value or array_push($array, $value)?
- Upload Multiple Files with PHP and JQuery
- Get title of website via link
- How do I install Composer PHP packages without Composer?
- Add ‘Watermark’ to images with php [closed]
- Remove .php extension (explicitly written) for friendly URL [closed]
- When using Gmail for SMTP, can you set a different “from” address?
- Traits in PHP – any real world examples/best practices? [closed]
- How to get system environment variables into PHP while running CLI & Apache2Handler?
- What is PHP session_start()
- How to change PHP’s eregi to preg_match [duplicate]
- Storing database connection in a session variable [duplicate]
- Javascript function post and call php script
- Getting all dates for Mondays and Tuesdays for the next year
- Increase days to php current Date()
- php call class function by string name
- Extract floating point numbers from a delimited string in PHP
- PHP PDO how to run a multiple query request?
- How do I format a number to a dollar amount in PHP
- Sending emails with WAMP
- php prevent & creating codes in a string [duplicate]