Data Sanitization in PHP

Gonzo picture Gonzo · May 8, 2009 · Viewed 9.5k times · Source

Can someone recommend an up to date library for data Sanitization in PHP ?

I am looking for a library that proposes a set of functions for data sanitization. Email validation/sanitization (remove those %0A, \r...), strip htlm (stripslashes(htmlentities), remove script, SQL injection … any form of exploit related to data submitted by users.

CakePHP sanitization class (not the "framework") looks nice.. ?

Answer

MichaelICE picture MichaelICE · May 8, 2009

Check out PHP Filter