最新下载
热门教程
- 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.
相关文章
- 地下城堡4护卫角色有哪些 护卫角色一览 09-18
- 崩坏星穹铁道丹恒腾荒突破材料是什么-丹恒腾荒养成材料汇总 09-18
- 地下城堡4螺旋书库怎么玩 螺旋书库玩法教学 09-18
- 地下城堡4掠夺者精锐怎么打 掠夺者精锐打法教学 09-18
- 地下城堡4白茗草怎么获得 白茗草采集位置 09-18
- 燕云十六声狮子坟漠漠喵在哪 狮子坟漠漠喵位置一览 09-18