note 113230 added to class.curlfile
| From: | alin dot rzv at gmail dot com | Date: | Sun, 15 Sep 2013 18:50:56 +0000 |
| Subject: | note 113230 added to class.curlfile | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-196264@lists.php.net to get a copy of this message | ||
// Create a CURLFile object
$cfile = curl_file_create('cats.jpg','image/jpeg','test_name');
// Assign POST data
$data = array('test_file' => $cfile);
curl_setopt($ch, CURLOPT_POST,1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
----
Server IP: 69.147.83.199
Probable Submitter: 95.76.68.53
----
Manual Page -- http://php.net/manual/en/class.curlfile.php
Edit -- https://master.php.net/note/edit/113230
Del: integrated -- https://master.php.net/note/delete/113230/integrated
Del: useless -- https://master.php.net/note/delete/113230/useless
Del: bad code -- https://master.php.net/note/delete/113230/bad+code
Del: spam -- https://master.php.net/note/delete/113230/spam
Del: non-english -- https://master.php.net/note/delete/113230/non-english
Del: in docs -- https://master.php.net/note/delete/113230/in+docs
Del: other reasons-- https://master.php.net/note/delete/113230
Reject -- https://master.php.net/note/reject/113230
Search -- https://master.php.net/manage/user-notes.php