title: XSS filtering function in PHP
body: <p>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.</p>
  
  <p>What about something like : <a href="http://snipplr.com/view/1848/php--sacar-xss/" rel="noreferrer">http://snipplr.com/view/1848/php--sacar-xss/</a></p>
  
  <p>Many thanks for any input.</p>