Menu Riverview Church

CURL_FILE_CREATE

Create a CURLFile object

SYNTAX

curl_file_create ( string $filename [, string $mimetype = "" [, string $postname = "" ]] ) : CURLFile

PARAMETERS

filename

Path to the file which will be uploaded.

mimetype

Mimetype of the file.

postname

Name of the file to be used in the upload data.

RETURN

Returns a CURLFile object.

EXAMPLES

1


2


PHP