PHP Classes

I don't understand why this was posted.

Recommend this page to a friend!

      Security Filter for Request HTTP Data  >  All threads  >  I don't understand why this was posted.  >  (Un) Subscribe thread alerts  
Subject:I don't understand why this was posted.
Summary:Package rating comment
Messages:2
Author:Casey Sistrunk
Date:2009-05-28 14:57:41
Update:2009-06-04 10:44:33
 

Casey Sistrunk rated this package as follows:

Utility: Insufficient
Consistency: Sufficient

  1. I don't understand why this was posted.   Reply   Report abuse  
Picture of Casey Sistrunk Casey Sistrunk - 2009-05-28 14:57:42
I don't understand why this was posted. It has a basic PHP syntax error.

Line 14 Change:
$patterns=array('SQL'=>'/(["]|['])/i',
To:
$patterns=array('SQL'=>'/(["]|[\'])/i',

Also there is a regex error.

Line 16 Change:
'Crosssite'=>'/(..)/',
To:
'Crosssite'=>'/(\.\.)/',

  2. Re: I don't understand why this was posted.   Reply   Report abuse  
Picture of Roman Shneer Roman Shneer - 2009-06-04 10:44:33 - In reply to message 1 from Casey Sistrunk
very sorry, mistake was entered via FCKeditor, that i used for upload project to freshmeat.
please get updates code