The CURLStringFile classIntroduction
CURLStringFile makes it possible to upload a file directly from a variable.
This is similar to CURLFile, but works with the contents of the file, not filename.
This class or CURLFile should be used to upload the contents of the file with Class synopsis
CURLStringFile
/* Properties */
public
string
$data;
public
string
$postname;
public
string
$mime;
/* Methods */
public __construct(string
$data , string $postname , string $mime = "application/octet-stream")Properties
See Also
|