Doc #53749 [Opn->Csd]: File upload parameters
| From: | frozenfire@php.net | Date: | Sat, 15 Jan 2011 21:48:56 +0000 |
| Subject: | Doc #53749 [Opn->Csd]: File upload parameters | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5809@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53749&edit=1
ID: 53749
Updated by: frozenfire@php.net
Reported by: buzz dot public at gmail dot com
Summary: File upload parameters
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: cURL related
PHP Version: Irrelevant
-Assigned To:
+Assigned To: frozenfire
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2011-01-15 22:48:34] frozenfire@php.net
Automatic comment from SVN on behalf of frozenfire
Revision: http://svn.php.net/viewvc/?view=revision&revision=307501
Log: Added information to CURL_POSTFIELDS regarding explicitly
specifying file mimetype, closing bug #53749.
------------------------------------------------------------------------
[2011-01-14 17:15:18] buzz dot public at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.curl-setopt#Parameters
---
In cURL it is possible to specify things like the file name and mime
type of a file upload, like "@/tmp/somefile;type=image/png", mentioned
in the section "POST (HTTP)" of the cURL documentation
(http://curl.haxx.se/docs/manual.html). It could be useful to mention
this in the description of the CURLOPT_POSTFIELDS constant.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53749&edit=1