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    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 60%Total: 1,103 All time: 3,404 This week: 660Up
Version License Categories
backgrounder 1.0GNU General Publi...Language


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.

Picture of Paul Scott
Name: Paul Scott <contact>
Classes: 14 packages by
Country: South Africa South Africa
Age: 47
All time rank: 471 in South Africa South Africa
Week rank: 286 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,404
This week:660Up
 User Ratings  
 All time