The CURLFile classIntroduction
This class or CURLStringFile should be used to upload a file with
Unserialization of CURLFile instances is not allowed. As of PHP 7.4.0, serialization is forbidden in the first place. Class synopsis
CURLFile
/* Properties */
public
string
$name = "";
public
string
$mime = "";
public
string
$postname = "";
/* Methods */
public __construct(string
$filename , stringnull $mime_type = null , stringnull $posted_filename = null )public string getFilename()
public string getMimeType()
public string getPostFilename()
public void setMimeType(string
$mime_type )public void setPostFilename(string
$posted_filename )Properties
See Also
|