How do I start a PHP script to run in the background so my foreground process in a web browser doesn't freeze waiting for it to end.
User uploads a file
After saving the file, I kick off a background PHP script to process it
When the background script ends, it sends the user an email to notify them.
I've seen similar questions, but no answers or sample code to make these calls.