First page Back Continue Last page Overview Graphics
Filter Input
Make sure each field has exactly the kind of data that you expect.
Use type checking and regular expressions.
- gettype(), is_numeric(), intval(), ereg(), preg_match(), etc.
Functions like strip_tags() are useful for free-form fields.