看 curl的代码应该是没有什么大问题 ,不知道是不是你几个值为空的原因,"pic"=>"@/path/to/myfile.jpg",
当你的$data是数组的时候 curl自动会以multipart方式post的再加一句,数组必须 为K=>v格式的数组