php-src/ext/curl
Alexander Moskalev e727919b97 cURL: make possible to send file from buffer string
Add CURLStringFile class which works similarly to CURLFile, but
uploads a file from a string rather than a file. This avoids the
need to create a temporary file, or use of a data:// stream.

Basic usage:

    $file = new CURLStringFile($data, 'filename.txt', 'text/plain');
    curl_setopt($curl, CURLOPT_POSTFIELDS, ['file' => $file]);

Closes GH-6456.
2021-02-16 10:24:22 +01:00
..
tests cURL: make possible to send file from buffer string 2021-02-16 10:24:22 +01:00
config.m4 Private/public split curl header 2020-09-07 11:12:41 +02:00
config.w32 Allow PHP_CURL_APIs to be imported by DLLs 2020-11-24 14:12:39 +01:00
CREDITS
curl.stub.php Implicitly enable function entry generation when class entry generation is enabled 2021-02-09 13:37:24 +01:00
curl_arginfo.h Implicitly enable function entry generation when class entry generation is enabled 2021-02-09 13:37:24 +01:00
curl_file.c cURL: make possible to send file from buffer string 2021-02-16 10:24:22 +01:00
curl_file.stub.php cURL: make possible to send file from buffer string 2021-02-16 10:24:22 +01:00
curl_file_arginfo.h cURL: make possible to send file from buffer string 2021-02-16 10:24:22 +01:00
curl_private.h cURL: make possible to send file from buffer string 2021-02-16 10:24:22 +01:00
interface.c cURL: make possible to send file from buffer string 2021-02-16 10:24:22 +01:00
multi.c Generate class entries for a few extensions 2021-02-03 09:24:09 +01:00
php_curl.h cURL: make possible to send file from buffer string 2021-02-16 10:24:22 +01:00
share.c Generate class entries for a few extensions 2021-02-03 09:24:09 +01:00
sync-constants.php Merge branch 'PHP-7.3' into PHP-7.4 2019-05-02 15:13:24 +02:00