PHP Classes
elePHPant
Icontem

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 (10 years ago) RSS 2.0 feedStarStarStarStar 65%Total: 1,088 This week: 1All time: 3,319 This week: 1,047Up
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.

Picture of Paul Scott
Name: Paul Scott <contact>
Classes: 14 packages by
Country: South Africa South Africa
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  
 0%
Total:1,088
This week:1
All time:3,319
This week:1,047Up
 User Ratings  
 
 All time
Utility:100%StarStarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:68%StarStarStarStar
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:656