PHP – simple way to send HTTP headers before a script ends
The article shows a simple PHP technique using `register_shutdown_function` and `fastcgi_finish_request` to send HTTP headers and close the connection before a long-running script finishes, allowing background processing without keeping the client waiting.