Instead of re-inventing the wheel, I suggest taking a look at some of
the code written by others. This is a common problem to any web developer.
One example would be CakePHP's Sanitize class:
http://api.cakephp.org/1.2/sanitize_8php-source.html
Chris Shiflett's blog has a lot of resources on PH
On Sat, Nov 22, 2008 at 9:24 AM, <[EMAIL PROTECTED]> wrote:
> Hello and Greetings,
>
> I have just been reviewing a script that says its a PHP firewall. It
> is using an array with 250 elements that are all basically subsets of
> code and injections that hackers use to break into sites. I could
>
Hello and Greetings,
I have just been reviewing a script that says its a PHP firewall. It
is using an array with 250 elements that are all basically subsets of
code and injections that hackers use to break into sites. I could
easily take this array and create a preg_match test but was wondering
at