时间:2021-07-01 10:21:17 帮助过:3人阅读
实例代码
<?php if (chdir("upload")) { print "Changed current directory successfully"; } ?>
输出结果:
Changed current directory successfully Explanation: This code changes the working directory to the upload directory in the previous working directory.
以上就是php 改变当前的目录chdir() 函数的用法的详细内容,更多请关注Gxl网其它相关文章!