CURLFile
PHP Manual

CURLFile::setPostFilename

(PHP 5 >= 5.5.0, PHP 7)

CURLFile::setPostFilenameSet file name for POST

Description

public void CURLFile::setPostFilename ( string $postname )

Parameters

postname

Filename to be used in POST data.

Return Values

No value is returned.


CURLFile
PHP Manual