|Classes of Paul Fryer||>||PHP Sandbox||>||Download .zip .tar.gz||>||Support forum||>||Blog||>||Latest changes|
|Groups||Freshmeat project||User ratings||Applications||Files|
|PHP 5||Classes using PHP 5 specific features||View top rated classes|
|Language||Constructs to assist in the language control||View top rated classes|
Prize: One subscription to the PDF edition of the PHP Architect magazine
|Sometimes you may need to execute PHP scripts from third parties that you may not be able to trust, as such scripts can do something harmful.
This class provides a clever solution to execute untrusted PHP scripts by running them with the PHP cli program as a separate process.
It passes a separate set of values to request variables and changes the root of the file system, so the untrusted scripts do not have access to privileged information.
Clever approach to execute untrusted PHP scripts securely.
|There are not enough user ratings to display for this class.|
|Applications that use this class|
|invalid.php||Data||Invalid PHP file to fail lint test|
|malicious.php||Data||A sample malicious PHP file|
|recon.php||Data||An enviroment based PHP reconisence script|
|slow.php||Data||A sample script that runs longer than the time limit|
|trusted.php||Data||A trusted PHP script|
|valid.php||Data||A sample valid PHP file|