最新下载
热门教程
- 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.
相关文章
- chat_skills:实践指南 10-05
- OpenClaw:定义、功能与部署,一文全知晓实用指南 10-05
- telos-customer-validator:AI Agent 工具实践指南 10-05
- moodle-quizsmith:AI Agent 工具实践指南 10-05
- margo:AI Agent 工具实践指南 10-05
- anima-prompt-naturalang:实践指南 10-05