php 判断(字段里面)文件是否存在,如存在怎样复制到另一文件夹, 求详细代码 字段里面文件如图:

2026-12-04 21:45:45
推荐回答(1个)
回答1:

$file="app/2011_11/10/......png";
if (file_exists($file) != false) {
$result = copy($file, $newfile);
}