最新下载
热门教程
- 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.
相关文章
- 自在江湖兑换码是什么 07-16
- 拼多多怎么设置匿名评价 07-16
- 无限暖暖灵感之旅·菇菇聚落及盐晶滩任务指南 07-16
- 360软件管家怎么收藏软件 07-16
- 龙族卡塞尔之门命轮系统使用方法一览 07-16
- 《星际迷航 航海家号 - 跨越未知》将于下月登陆 Switch 2 07-16