PHP Classes

String PHP Insert: Check if a string of code calls unsafe functions

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 330 All time: 7,143 This week: 571Up
Version License PHP version Categories
string-php-insert 1.000GNU General Publi...5PHP 5, Security


This class can check if a string of code calls unsafe functions.

It takes text string with PHP code and checks if it is calling unsafe PHP functions.

Currently it can test for functions that can execute PHP commands, or that can invoke callback functions, or that disclose sensitive system information, or access the file system, etc..

Innovation Award
PHP Programming Innovation award nominee
September 2013
Number 8
Some applications need to execute external PHP scripts.

This class provides a basic solution to detect if the scripts PHP code may contain potentially harmful code.

Manuel Lemos
Picture of Steve Winnington
  Performance   Level  
Name: Steve Winnington is available for providing paid consulting. Contact Steve Winnington .
Classes: 8 packages by
Country: United Kingdom
Age: 49
All time rank: 123455 in United Kingdom
Week rank: 337 Up10 in United Kingdom Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file StringPhpInsert.php Class Main Class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,143
This week:571Up
User Comments (1)
10 years ago (Rahul Shambharkar)