http_post_fields(3) php man page | unix.com

Man Page: http_post_fields

Operating Environment: php

Section: 3

HTTP_POST_FIELDS(3)							 1						       HTTP_POST_FIELDS(3)

http_post_fields - Perform POST request with data to be encoded

SYNOPSIS
string http_post_fields (string $url, array $data, [array $files], [array $options], [array &$info])
DESCRIPTION
Performs an HTTP POST request on the supplied url. See the full list of request options.
PARAMETERS
o $url - URL o $data - Associative array of POST values o $files - Array of files to post o $options -request options o $info -Request/response information
RETURN VALUES
Returns the HTTP response(s) as string on success, or FALSE on failure.
EXAMPLES
Example #1 A http_post_fields(3) example <?php $fields = array( 'name' => 'mike', 'pass' => 'se_ret' ); $files = array( array( 'name' => 'uimg', 'type' => 'image/jpeg', 'file' => './profile.jpg', ) ); $response = http_post_fields("http://www.example.com/", $fields, $files); ?> PHP Documentation Group HTTP_POST_FIELDS(3)
Related Man Pages
curlopt_post(3) - mojave
http_build_url(3) - php
httprequest(3) - php
http_get(3) - php
http::request::common(3pm) - debian
Similar Topics in the Unix Linux Community
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
Denial Of Service Attack Update
Please Welcome Nicki Paul to the Moderator Team!