__construct()
__construct(string $fieldName, string $filename, string $contentType = null, string $postname = null)
Parameters
string |
$fieldName |
Name of the field |
string |
$filename |
Local path to the file |
string |
$contentType |
Content-Type of the upload |
string |
$postname |
Remote post file name |