Skip to content

It is a starting point of an idea - not tested in real life well: POST, GET sanitization, seems useful when someone is not sure if a website/app is protected against attacks.

Notifications You must be signed in to change notification settings

brilliapps/autosanitizegetpost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

autosanitizegetpost

At the moment it is pretty useless except you use simple $_POST['key']=stringvalue POST, GET not $_POST['key']=array. Sorry. It is a starting point of an idea - not tested in real life well: POST, GET sanitization, seems useful when someone is not sure if a website/app is protected against attacks.

Try to use it this way somewhere at the top of your page/application

if (!empty($_POST)) { $this->sanitizePost(); }

if (!empty($_GET)) { $this->sanitizeGet(); }

About

It is a starting point of an idea - not tested in real life well: POST, GET sanitization, seems useful when someone is not sure if a website/app is protected against attacks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages