Home Backend Development PHP Tutorial 这个是什么东东

这个是什么东东

Jun 13, 2016 am 10:11 AM
function gt lt quot string

求助 这个是什么错误?


Warning: copy() [function.copy]: Filename cannot be empty in C:\wwwroot\MyWeb_Style\Add\uploadify\add_ok.php on line 73



Warning: unlink() [function.unlink]: Invalid argument in C:\wwwroot\MyWeb_Style\Add\uploadify\add_ok.php on line 75

../../uploads/Computer_pic/140806.jpg,

注:拷贝成功 删除成功 但是出现的这个错误搞不懂 谢谢!

------解决方案--------------------
copy()的参数有问题,文件名无效,上代码 73-75行,附带上打印的参数值看看
------解决方案--------------------
打不出来还有其它办法,比如写到文件里
你给的参数我也没看出什么:
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"
这是上传文件吗? 移动文件的话用rename()即可

Statement of this Website
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

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What are the differences between Huawei GT3 Pro and GT4? What are the differences between Huawei GT3 Pro and GT4? Dec 29, 2023 pm 02:27 PM

What are the differences between Huawei GT3 Pro and GT4?

Convert basic data types to strings using Java's String.valueOf() function Convert basic data types to strings using Java's String.valueOf() function Jul 24, 2023 pm 07:55 PM

Convert basic data types to strings using Java's String.valueOf() function

How to convert char array to string How to convert char array to string Jun 09, 2023 am 10:04 AM

How to convert char array to string

What does function mean? What does function mean? Aug 04, 2023 am 10:33 AM

What does function mean?

Fix: Snipping tool not working in Windows 11 Fix: Snipping tool not working in Windows 11 Aug 24, 2023 am 09:48 AM

Fix: Snipping tool not working in Windows 11

Use Java's String.replace() function to replace characters (strings) in a string Use Java's String.replace() function to replace characters (strings) in a string Jul 25, 2023 pm 05:16 PM

Use Java's String.replace() function to replace characters (strings) in a string

2w words detailed explanation String, yyds 2w words detailed explanation String, yyds Aug 24, 2023 pm 03:56 PM

2w words detailed explanation String, yyds

How to use the split method in Java String How to use the split method in Java String May 02, 2023 am 09:37 AM

How to use the split method in Java String

See all articles