/ Published in: PHP
This function protects against SQL, XSS, JS injections all in one function!
Expand |
Embed | Plain Text
<?php /** * Cleaning Input Script * Copyright 2009 - www.pgmr.co.uk - [email protected] */ function clean($str) { } return $str; } ?>
Comments
Subscribe to comments
You need to login to post a comment.

www.pgmr.co.uk ;)
I see no method implemented to clear hexadecimal notations.
check this function: rawurldecode
This isn't mean for just URL's. It's meant for cleaning just any random input.