PHP chdir() 函数
发布时间:2020-12-13 21:26:18 所属栏目:PHP教程 来源:网络整理
导读:实例 改变当前的目录: ?php // Get current directory echo getcwd() . "br"; // Change directory chdir("images"); // Get current directory echo getcwd(); ? 结果: /home/php /home/php/images ? 定义和用法 chdir() 函数改变当前的目录。 语法 chdir
实例改变当前的目录:
<?php
// Get current directory echo getcwd() . "<br>"; // Change directory chdir("images"); // Get current directory echo getcwd(); ?> 结果:
/home/php
/home/php/images ? 定义和用法chdir() 函数改变当前的目录。 语法
chdir(
directory);
?
技术细节?
「大理石平台维护」如何清洗大理石平台? (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |