PHP Classes

Backgrounder: Call background processes

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2006-01-17 (13 years ago) RSS 2.0 feedStarStarStarStar 65%Total: 1,097 All time: 3,369 This week: 436Up
Version License Categories
backgrounder 1.0GNU General Publi...Language
Description Author

This class can be used to set up a callback function that will execute even if the user closes the browser window. It is meant to be used in long running processes, like pdf generation.

The callback function at the moment is an e-mail message sent to the user. This can be changed by the developer.

This class forks a process in the Web server and runs the process in a seperate child process until done. This means that the user can carry on using the system in the main process, while the task is completing. Once the child process is done, it will close and do some garbage collection and destroy the child process, finally calling the callback function and sending a mail to let you know its done.

Name: Paul Scott <contact>
Classes: 14 packages by
Country: South Africa South Africa
Age: 42
All time rank: 471 in South Africa South Africa
Week rank: 173 Down2 in South Africa South Africa Down
Innovation award
Innovation award
Nominee: 4x


  Files folder image Files  
File Role Description
Plain text file background_class_inc.php Class Class Source
Accessible without login Plain text file example.php Example Example Script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,369
This week:436Up
 User Ratings  
 All time