What is the error of asking for help? & Lt; br/& gt; & lt; B & gt; Warning & lt;/B & gt;: copy () [& lt; ahref = 'function. copy' & gt; function. copy & lt;/a & gt;]: Filenamecannotbeemptyin & lt; B & gt; C: \ ww what is the error?
Warning: Copy () [function. copy]: Filename cannot be empty in
C: \ wwwroot \ MyWeb_Style \ Add \ uploadify \ add_ OK .phpOn line
73
Warning: Unlink () [function. unlink]: Invalid argument in
C: \ wwwroot \ MyWeb_Style \ Add \ uploadify \ add_ OK .phpOn line
75
.../../Uploads/Computer_pic/140806.jpg,
Note: The copy is successfully deleted, but this error does not exist. thank you!
------ Solution --------------------
The copy () parameter is incorrect and the file name is invalid. check the printed parameter values in line 3-75 of the code.
------ Solution --------------------
There are other methods, such as writing to a file.
I didn't see anything about the parameters you gave:
NewFile: string (10) "/up/01.jpg"
Up_pic: string (10) "/up/01.jpg"
NewFile: string (10) "/up/02.jpg"
Up_pic: string (10) "/up/02.jpg"
NewFile: string (10) "/up/03.jpg"
Up_pic: string (10) "/up/03.jpg"
Is this an upload file? Use rename () to move a file.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service