©
本文档使用
php中文网手册 发布
(PECL pecl_http >= 0.10.0)
HttpRequest::addPostFields — Add post fields
$post_data
)Adds POST data entries, leaving previously set unchanged, unless a post entry with the same name already exists.
Affects only POST and custom requests.
post_data an associative array as parameter containing the post fields
成功时返回 TRUE , 或者在失败时返回 FALSE 。