You are here

Input validation in Drupal 7

Same name and namespace in other branches
  1. 8 core/includes/common.inc \validation
  2. 4 includes/common.inc \validation
  3. 5 includes/common.inc \validation
  4. 6 includes/common.inc \validation

Functions to validate user input.

File

includes/common.inc, line 1232
Common functions that many Drupal modules will need to reference.

Functions

Namesort descending Location Description
valid_email_address includes/common.inc Verifies the syntax of the given e-mail address.
valid_url includes/common.inc Verifies the syntax of the given URL.