Input validation

  1. 7.x drupal/includes/common.inc validation
  2. 5.x drupal/includes/common.inc validation
  3. 6.x drupal/includes/common.inc validation
  4. 8.x drupal/core/includes/common.inc validation

Functions to validate user input.

Functions

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

File

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