(PECL pecl_http >= 0.1.0)
http_post_data — Perform POST request with pre-encoded data
$url
, string $data
[, array $options
[, array &$info
]] )Performs an HTTP POST request on the supplied url.
请查阅完整的 request 选项组 列表。
成功时用字符串返回 HTTP 响应,失败时返回 FALSE
。
yoder2 at purdue dot edu (2007-05-17 04:27:01)
See the "superglobal" arrays $_POST['varname] and $_REQUEST['varname'] for how to access Post variables.
http://www.php.net/manual/en/language.variables.predefined.php
#language.variables.superglobals
(had to break the URL so I could post it.)