#48083 [NEW]: curl_setopt page incorrectly describes CURLOPT_POST behavior

From: Date: Mon, 27 Apr 2009 08:38:41 +0000
Subject: #48083 [NEW]: curl_setopt page incorrectly describes CURLOPT_POST behavior
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2165@lists.php.net to get a copy of this message
From: mrtorrent at gmail dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: curl_setopt page incorrectly describes CURLOPT_POST behavior Description: ------------ As per #37760 and #16305, the curl_setopt manual page makes no mention of the fact that passing an array to CURLOPT_POSTFIELDS results in a post of type multipart/form-data rather than application/x-www-form-urlencoded when passing an array to CUROPT_POSTFIELDS instead of a string. 37760 was closed a year and half ago as fixed, but it does not actually appear to be, and this behavior is documented only in user comments on the manual apge. -- Edit bug report at http://bugs.php.net/?id=48083&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48083&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48083&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48083&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48083&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48083&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48083&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48083&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48083&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48083&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48083&r=support Expected behavior: http://bugs.php.net/fix.php?id=48083&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48083&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48083&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48083&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48083&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48083&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48083&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48083&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48083&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48083&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48083&r=mysqlcfg

« previous php.doc.bugs (#2165) next »