Want better links on DZone? We do, too! Login and vote now.
By bloid
via developertutorials.com
Submitted: Jul 18 2008 / 13:23
So you’ve just built a fantastic processing routine for your application. You’ve checked and double checked the integrity of user input, and you’re doing some serious processing. There’s only one problem: it’s too slow. There’s a simple solution: forking your processing script, and running the code as a background process asynchronously. It can email your user when it’s done: they’ll wait. In this tutorial, I’ll show you how to get started with background processes in PHP.
Add your comment