Community Documentation

Input validation

  1. drupal
    1. 4.6 common.inc
    2. 4.7 common.inc
    3. 5 common.inc
    4. 6 common.inc
    5. 7 common.inc
    6. 8 common.inc

Functions to validate user input.

Functions & methods

NameDescription
valid_email_addressVerifies the syntax of the given e-mail address.
valid_urlVerify the syntax of the given URL.

File

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

Login or register to post comments