Y
Hacker News
new
|
ask
|
show
|
jobs
by
there
5168 days ago
Just move your code to a register_shutdown_function() call and it will execute after the output has been sent, but without having to deal with forking a background PHP process or running out-of-context.