http_request

(no version information, might be only in CVS)

http_request -- Perform custom request

Description

string http_request ( int method [, string url [, string body [, array options [, array &info]]]] )

Performs a custom HTTP request on the supplied url.

See http_get() for a full list of available parameters and options.

Parameters

method

Request method

url

URL

body

Request body

options

Request options

info

Request/response information

Return Values

Returns the HTTP response(s) as string on success, or FALSE on failure.