实例代码
<?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() 函数的用法的详细内容,更多请关注二当家的素材网其它相关文章!
友情提示:垃圾评论一律封号 加我微信:826096331拉你进VIP群学习群