Forum und email
http_post_fields

http_post_fields

(PECL)

http_post_fields -- Perform POST request with data to be encoded

Popis

string http_post_fields ( string url [, array data [, array files [, array options [, array &info]]]] )

Performs an HTTP POST request on the supplied url.

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

Seznam parametrů

url

URL

data

Associative array of POST values

files

Array of files to post

options

Request options

info

Request/response information

Návratové hodnoty

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