Content-Type: multipart/form-data; boundary=---------------------------2857736718722 Content-Length: 516715 -----------------------------2857736718722 Content-Disposition: form-data; name="method" file -----------------------------2857736718722 Content-Disposition: form-data; name="userfile"; filename="Garden.jpg" Content-Type: image/jpeg ÿØÿà
$postdata = array( 'method' => 'file', 'name="userfile"; filename="'.$picture.'"' => 'yOya', ); $postdata = array( 'method' => 'file', 'userfile' => '', 'filename="'.$picture.'"' => 'yOya', );