curl_setopt($curl_handle, CURLOPT_POST, 1); $args['file'] = '@/path/to/file'; $args['a'] = 'blablabla...'; //and so on curl_setopt($curl_handle, CURLOPT_POSTFIELDS, $args); 更多的内容:https://wiki.php.net/rfc/curl-file-upload
更多的内容:https://wiki.php.net/rfc/curl-file-upload