代码将文件从一个文件夹复制到另一个文件夹 [英] code to copy file from one folder to another folder

查看:91
本文介绍了代码将文件从一个文件夹复制到另一个文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

php代码将文件从一个文件夹复制到另一个文件夹...


复制功能对我不起作用....

复制(``foo/test.php'',``bar/test.php'');任何人都可以给我解决方案

php code to copy file from one folder to another folder...


copy function didnt work for me....

copy(''foo/test.php'', ''bar/test.php''); anyone give me solution

推荐答案

尝试Copy [ ^ ]命令.

例子-
http://www.w3schools.com/php/func_filesystem_copy.asp [ http://www.kavoir.com/2009/04/php-copying-renaming-and-moving-a-file.html [
Try the Copy[^] command.

Examples -
http://www.w3schools.com/php/func_filesystem_copy.asp[^]
http://www.kavoir.com/2009/04/php-copying-renaming-and-moving-a-file.html[^]


这篇关于代码将文件从一个文件夹复制到另一个文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆