首页 >后端开发 >php教程 >PHP函数copy()复制文件示例

PHP函数copy()复制文件示例

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原创
2016-07-25 08:45:49814浏览
  1. $old = 'C:\tmp\someold.txt';
  2. $new = 'C:\tmp\somenew.txt';
  3. copy($old,$new) or die("couldn't copy $old to $new");
  4. ?>
复制代码

PHP, copy


声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn