Home  >  Article  >  Backend Development  >  curl上传图片文件的有关问题

curl上传图片文件的有关问题

WBOY
WBOYOriginal
2016-06-13 12:41:30706browse

curl上传图片文件的问题。
curl 上传文件时服务端接受到的$_FILES['xxx']['type'] 是application/octet-stream,怎样才能得到图片的原始类型?

图片 Curl
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn