Using the sdk to upload pictures my php version 5.5 has the following error: Message: curl_setopt_array (): Theusageofthe@filenameAPIforfileuploadingisdeprecated.PleaseusetheCURLFileclassinsteadFilename: qi... the following error occurs when I upload images using the sdk of qiniu in php 5.5:
Message: curl_setopt_array (): The usage of the @ filename API for file uploading is deprecated. Please use the CURLFile class instead
Filename: qiniu/http. php
Why?
Reply content:
The following error occurs when I upload images using the sdk of qiniu in php 5.5:
Message: curl_setopt_array (): The usage of the @ filename API for file uploading is deprecated. Please use the CURLFile class instead
Filename: qiniu/http. php
Why?
I went to the official website and found the latest sdk. I changed the old sdk version and changed the reference method.
Can I try to use the absolute path of the file to upload files? Can I upload resources normally.
Add@
Blocking Error
This is an SDK issue.