用system函数调用cp,来执行将文件***从:/tmp/*** 复制到/var/www/***
但是,复制过程中每次都会提示如题错误,不得其解。
最后发现,复制的filelist里面有一个文件名是空的,也就是执行了:cp /tmp/(NULL) /var/www/
即,用system()来复制时,如果文件名为空会出现这样的错误。