php securephp
SecurePHP is the PHP library for security. Delete control characters(ex. null byte) and invalid array keyname(_SERVER, _GET, etc)
ichikaway/securephp
SecurePHP is the PHP library for security. Delete control characters(ex. null byte) and invalid array keyname(_SERVER, _GET, etc)
- Monday, December 25, 2017
- by ichikaway
- Repository
- 1 Watchers
- 7 Stars
- 19 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
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');, (*1)
Composer
If you want to install with composer,, (*2)
{
"require": {
"ichikaway/securephp": "dev-master"
},
"autoload": {
"files": ["vendor/ichikaway/securephp/Libs/SecureInputFilter.php"]
}
}
and require autoload.php and execute method., (*3)
require('vendor/autoload.php');
SecureInputFilter::clean_input_data();