http_post_fields
Perform POST request with data to be encoded
&reftitle.description;
stringhttp_post_fields
stringurl
arraydata
arrayfiles
arrayoptions
arrayinfo
Performs an HTTP POST request on the supplied url.
&see.http.request.options;
&reftitle.parameters;
url
URL
data
Associative array of POST values
files
Array of files to post
options
&link.http.request.options;
info
&link.http.request.info;
&reftitle.returnvalues;
&returns.http.response;
&reftitle.examples;
A http_post_fields example
'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);
?>
]]>