You are here

Common Functionality - HTTP in Common Functionality 7.2

A set of functions to get content from remote web pages.

Justification: Custom php scripts need a straight-forward and easy way to pull data from another website. This is useful as an alternative to iframe and has advantages and disadvantages to iframes. An advantage is that this allows showing remote content even if the remote url is down (via caching). A disadvantage is that remote images and links need to be processed, updated, and possibly even manually cached.

Parent topics

File

modules/cf_http/cf_http.module, line 8
Common Functionality - HTTP module.

Functions

Namesort descending Location Description
cf_adjust_url modules/cf_http/cf_http.module Fix relative url pulled from the remote server.
cf_http_adjust_urls modules/cf_http/cf_http.module Fix relative urls pulled from the remote server.
cf_http_get_response modules/cf_http/cf_http.module Reads an http page at the given path and returns an unprocessed response.
cf_http_get_webpage modules/cf_http/cf_http.module Reads and processes a website page at the given path.
cf_http_headers_errors modules/cf_http/cf_http.module Search through an array of http errors for common 400 and 500 http codes.
cf_http_init modules/cf_http/cf_http.module Implements hook_init().
cf_http_parse_response modules/cf_http/cf_http.module Accepts and processes provided http content.
cf_http_reduce_html_headers modules/cf_http/cf_http.module Reads and processes a website page at the given path.
cf_http_split_response modules/cf_http/cf_http.module Breaks apart an html formatted document string.
cf_http_unchunk_response modules/cf_http/cf_http.module Unchunk http content.
cf_http_validate_response modules/cf_http/cf_http.module Validate http responses by checking header.