Input validation

  1. 7.x drupal-7.x/includes/common.inc validation
  2. 6.x drupal-6.x/includes/common.inc validation

Functions to validate user input.

File

drupal-7.x/includes/common.inc, line 1168
Common functions that many Drupal modules will need to reference.

Functions

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