PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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.