curl_setopt用此函数设置上传文件请求的兼容性调整
摘要:在用curl_setopt($curl, CURLOPT_POSTFIELDS, $fileData);这个函数设置时会报错如下 curl_setopt(): The usage of the @filename API for file uploading is deprecated. Please use the CURLFile class instead 查看了相关文档发现如下一段话 ...
阅读全文
posted @ 2016-04-18 12:51
浙公网安备 33010602011771号