Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 961 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 961 Bytes

PHP Background Task

A simple PHP interface for executing unattended (non-blocking) system calls, monitoring their output and exit status.

Usage

See demo.php in the demo folder for usage example and basic documentation

Requirements

Your environment must have one of the shell_exec, exec or system PHP functions available in order for this class to work.

If you're unsure, run demo.php for a quick test.

Security

In it's plain form this class allows a developer to run any desired command via PHP's exec()

Allowing any user input to this class is allowing direct execution of user controlled input on your server

Compatibility

bgTask should run on any *nix OS, and has been tested on OS X, and Debian/Ubuntu.

Windows is currently unsupported.