$key = "file\"; filename=\"1.jpg\r\nContent-Type: image/jpeg\r\n";$fields[$key] = $file;
用curl post $fields数组 提交二进制流图片
可是对方服务器提示获取不到信息
立即学习“PHP免费学习笔记(深入)”;
求教格式哪里有错误
回复内容:
$key = "file\"; filename=\"1.jpg\r\nContent-Type: image/jpeg\r\n";$fields[$key] = $file;
用curl post $fields数组 提交二进制流图片
可是对方服务器提示获取不到信息
立即学习“PHP免费学习笔记(深入)”;
求教格式哪里有错误
CURL上传文件完整篇
CURL函数之上传 | 下载文件
http://php.net/manual/en/function.curl-file-create.php

