XSS filtering function in PHP

Posted by codecowboy on Stack Overflow See other posts from Stack Overflow or by codecowboy
Published on 2009-08-26T18:53:30Z Indexed on 2010/03/08 12:06 UTC
Read the original article Hit count: 615

Filed under:
|
|

Hi,

Does anyone know of a good function out there for filtering generic input from forms? Zend_Filter_input seems to require prior knowledge of the contents of the input and I'm concerned that using something like HTML Purifier will have a big performance impact.

What about something like : http://snipplr.com/view/1848/php--sacar-xss/

Many thanks for any input.

© Stack Overflow or respective owner

Related posts about php

Related posts about xss