最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
php chdir() 函数
时间:2022-07-02 09:52:37 编辑:袖梨 来源:一聚教程网
语法:bool切换目录(字符串目录)dirDirectory改变to.Changes当前工作目录。
在成功返回真。如果发生错误,则返回FALSE。
范例
if (chdir("upload")) {
print "Changed current directory successfully";
}
?>
Output:
Changed current directory successfully
Explanation:
This code changes the working directory to the upload directory in the previous working directory.
相关文章
- 二重螺旋狩月人魔之楔怎么配-狩月人魔之楔搭配推荐 11-06
- 洛克王国世界s1限定精灵蛋怎么获得-s1赛季炫彩蛋获取方法 11-06
- 天国拯救2大嘴约翰尼支线任务攻略分享 11-06
- 天国拯救2成名时刻支线任务攻略分享 11-06
- 天国拯救2赦免者支线任务完成方法分享 11-06
- 东方异域见闻魔理沙普攻流无伤轮椅攻略 11-06