Upyunphpsdk file uploading is incomplete. Has anyone ever encountered this? Upload upyun php sdk incomplete file has been encountered? Today I found many times incomplete
As shown in my figure below
Http://meitunew.b0.upaiyun.com/2015/1104/20151104021136249.jpg
Reply content:
Upyun php sdk incomplete file upload has been encountered? Today I found many times incomplete
As shown in my figure below
Http://meitunew.b0.upaiyun.com/2015/1104/20151104021136249.jpg
When you upload an image, you may have the image parameters.
$ Data = file_get_contents (trim ($ temploadfile); $ rsp = $ upyun-> writeFile ("/". $ savepath, $ data, True); // upload an image, automatically create a directory @ unlink ($ temploadfile ); echo "====== uploaded successfully ===$ temploadfile =======\ n ";
This is the upload code.
Not all are. Yes. Yes? I don't understand.
Look at this. The image size is correct. That is, the data is faulty.