1. 6.x includes/common.inc http_handling
  2. 7.x includes/common.inc http_handling

Functions to properly handle HTTP responses.


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


Namesort descending Location Description
drupal_access_denied includes/common.inc Generates a 403 error if the request is not allowed.
drupal_get_destination includes/common.inc Prepare a destination query string for use in combination with drupal_goto().
drupal_goto includes/common.inc Send the user to a different Drupal page.
drupal_http_request includes/common.inc Perform an HTTP request.
drupal_not_found includes/common.inc Generates a 404 error if the request can not be handled.
drupal_query_string_encode includes/common.inc Parse an array into a valid urlencoded query string.
drupal_site_offline includes/common.inc Generates a site off-line message.