SecurePHP is the library for security
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Config
Libs
Tests
.gitignore
README-CakePHP
README.md
composer.json

README.md

SecurePHP is the library for security.

  • check input data(POST,GET,COOKIE,SERVER,REQUEST) and delete invalid data.
    • delete control byte char(ex. null byte)
    • delete invalid key name(ex. array('_SERVER' =>....) )

Usage:

include bootstrap.php of SecurePHP library. require_once('securephp/Config/bootstrap.php');

Composer

If you want to install with composer,

{
	"require": {
		"ichikaway/securephp": "dev-master"
	},
	"autoload": {
		"files": ["vendor/ichikaway/securephp/Libs/SecureInputFilter.php"]
	}
}

and require autoload.php and execute method.

require('vendor/autoload.php');
SecureInputFilter::clean_input_data();