curlfile(3) php man page | unix.com

Man Page: curlfile

Operating Environment: php

Section: 3

CURLFILE(3)								 1							       CURLFILE(3)

The CURLFile class

INTRODUCTION
CURLFile should be used to upload a file with CURLOPT_POSTFIELDS.
CLASS SYNOPSIS
CURLFile CURLFile Properties o public$name o public$mime o public$postname Methods o public CURLFile::__construct (string $filename, [string $mimetype], [string $postname]) o public string CURLFile::getFilename (void ) o public string CURLFile::getMimeType (void ) o public string CURLFile::getPostFilename (void ) o public void CURLFile::setMimeType (string $mime) o public void CURLFile::setPostFilename (string $postname) o public void CURLFile::__wakeup (void )
PROPERTIES
o $name -Name of the file to be uploaded. o $mime -MIME type of the file (default is application/octet-stream). o $postname -The name of the file in the upload data (defaults to the $name property).
SEE ALSO
ocurl_setopt(3) PHP Documentation Group CURLFILE(3)
Related Man Pages
arrayiterator(3) - php
splfileinfo(3) - php
yaf_request_abstract(3) - php
yaf_request_simple(3) - php
curl_file_create(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
Please Welcome Nicki Paul to the Moderator Team!