rfc:curl-file-upload
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:curl-file-upload [2013/01/13 03:17] – [CurlFile API] stas | rfc:curl-file-upload [2013/01/28 19:43] – vote close stas | ||
---|---|---|---|
Line 120: | Line 120: | ||
===== Optional ===== | ===== Optional ===== | ||
* If upstream cURL API permits, we could add in the future uploading files from string buffers, stream names, stream resources and such, which is now impossible with existing @-based API. The CurlFile API above will then be extended with required functions to support these, such as " | * If upstream cURL API permits, we could add in the future uploading files from string buffers, stream names, stream resources and such, which is now impossible with existing @-based API. The CurlFile API above will then be extended with required functions to support these, such as " | ||
- | |||
- | * For people that are not comfortable with " | ||
- | |||
- | <code php> | ||
- | $data[' | ||
- | </ | ||
* It is possible to include validation of the file resource given in the constructor, | * It is possible to include validation of the file resource given in the constructor, | ||
Line 133: | Line 127: | ||
* curl_setopt: | * curl_setopt: | ||
* Pull request: https:// | * Pull request: https:// | ||
+ | |||
+ | ===== Vote ===== | ||
+ | |||
+ | Voting ended on Monday, January 28th 2013. In order to pass, the requirement is 50%+1 vote, since PHP core language is not changed. The result is: **ACCEPTED**. | ||
+ | |||
+ | < | ||
+ | title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
+ | |||
===== Changelog ===== | ===== Changelog ===== | ||
* 2013-01-05 First draft | * 2013-01-05 First draft | ||
* 2013-01-06 Added pull req | * 2013-01-06 Added pull req | ||
* 2013-01-07 Added CURLOPT_SAFE_UPLOAD description | * 2013-01-07 Added CURLOPT_SAFE_UPLOAD description | ||
+ | * 2013-01-12 Added curl_file_create() | ||
rfc/curl-file-upload.txt · Last modified: 2018/07/03 19:16 by stas