PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Networking » Net_Curl » Bug #4823

curl doesn't handle array in $fields

Details

Request #4823curl doesn't handle array in $fields
Submitted2005-07-13 18:38 UTC
Fromjoe at joestump dot net
StatusClosed
PackageNet_Curl
PHP VersionIrrelevant
OSAll
Roadmaps(Not assigned)

Comments

[2005-07-13 18:38 UTC] joe at joestump dot net

Description:
------------
I used to be able to assign an array to Net_Curl::$fields, but
now for some reason CURLOPT_POSTFIELDS doesn't appear to work
with an array. Net_Curl should detect that $fields is an array
and turn it into a string before running the request and
setting fields.