PHP filters

From TRCCompSci - AQA Computer Science
Revision as of 13:01, 20 December 2017 by Admin (talk | contribs) (Created page with "Filters can be used to both sanitize and validate data. Filters available are: *int *boolean *float *validate_regexp *validate_url *validate_email *validate_ip *string *stri...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Filters can be used to both sanitize and validate data. Filters available are:

  • int
  • boolean
  • float
  • validate_regexp
  • validate_url
  • validate_email
  • validate_ip
  • string
  • stripped
  • encoded
  • special_chars
  • full_special_chars
  • unsafe_raw
  • email
  • url
  • number_int
  • number_float
  • magic_quotes
  • callback