Nat*_*ams 14
也许:
curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
Run Code Online (Sandbox Code Playgroud)
http://www.php.net/manual/en/function.curl-setopt.php
这可以作为urlencoded字符串传递,如'para1 = val1¶2 = val2&...',或者作为一个数组,字段名称为键,字段数据为值.
ZZ *_*der 12
做这个,
curl_setopt($handle, CURLOPT_POSTFIELDS, http_build_query($_POST));
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6116 次 |
| 最近记录: |