IntroductionThis extension provides filters which can be used to validate or sanitize data. This is especially useful when the data source contains unknown (or foreign) data, like user supplied input. For example, this data may come from an HTML form. There are two main types of filtering: validation and sanitization.
A validation filter is used to check if the data meets certain criteria.
These filters are identified by the
Sanitization on the other hand will "clean up" the data,
therefore it may alter the input data by adding or removing characters.
These filters are identified by the
Most filters support optional flags that can tweak
the behavior of the filter.
These flags are identified by the
|