0

这就是我所拥有的,但我看不出有什么问题。

$site_name = $_SESSION['name'];

copy("../includes/teacher_webs_layout/index.php", "$site_name/index.php");
copy("../includes/teacher_webs_layout/teachers_web.php", "$site_name/teachers_web.php");
copy("../includes/teacher_webs_layout/teachers_web_sub.php", "$site_name/teachers_web_sub.php");
copy("../includes/teacher_webs_layout/.htaccess", "$site_name/.htaccess");

我正在尝试将它们从teacher_webs_layout文件夹中取出并将它们复制到$site_name最近创建的文件夹中。

4

0 回答 0