Ravens PHP Scripts: Forums
 

 

Search found 2 matches
Author Message
 Topic: Bad Words as security counter measure
maciekp

Replies: 12
Views: 18358

PostForum: Other - Discussion   Posted: Fri Mar 05, 2004 3:58 pm   Subject: Bad Words as security counter measure
It was merely an example, you certainly don't want to have 100 strpos or regexp function calls.


So speeds not as detrimental as it sounds.


You won't be saying that after someone pulls a DoS ...
 Topic: Bad Words as security counter measure
maciekp

Replies: 12
Views: 18358

PostForum: Other - Discussion   Posted: Fri Mar 05, 2004 12:09 pm   Subject: re: Bad Words as security counter measure
Here's an example of poor man's filter Smile


foreach ($_GET as $secvalue) {
$secvalue = strtolower($secvalue);

$jsevent = (
strpos($secvalue, "onload" ...
 

 Jump to:   

Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©