ichikaway / securephp
SecurePHP is the PHP library for security. Delete control characters(ex. null byte) and invalid array keyname(_SERVER, _GET, etc)
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 2
Forks: 1
Open Issues: 0
Type:php
Requires
- php: >=5.0.0
- composer/installers: *
This package is not auto-updated.
Last update: 2024-11-19 08:02:41 UTC
README
- 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();