News for hackers. Stuff that matters.
Re:PHP: The Right Way by jeltz on Saturday July 07, 2012 @06:36PM (#4212939)
Agreed, most input should not be filtered. There are some exceptions though like stripping whitespace and dashes from credit card numbers and phone numbers.

The filtering of input has nothing to do with security (that should be handled by output escaping and paramterized queries) and should only be used for improving the quality of the saved data.

There are no comments on this comment yet.