Is there a way using PHP curl to send multiple files in a single request?
I understand you can send a single file making use of the following:
$fh =
You can use this
$post = array( "file1"=>"@/path/to/myfile1.jpg", "file2"=>"@/path/to/myfile2.jpg", ); curl_setopt($ch, CURLOPT_POSTFIELDS, $post);