小白教程
所有教程
关于
Search
172.69.6.63
172.69.6.63
参数设置
贡献
退出
操作
编辑
移动
保护
信息
历史
删除
查看“Func directory getcwd”的源代码
本页内容
上一节:
Func_directory_dir
下一节:
Func_directory_opendir
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{DISPLAYTITLE:getcwd()}}[[Category:PHP Directory 文件目录参考手册|5]] = PHP getcwd() 函数 = [[:Category:PHP Directory 文件目录参考手册]] 获取当前工作目录: <sample title="" desc="" lang="php" hererun="1"> <?php echo getcwd() ?> </sample> 结果: <sample title="" desc="" lang="php" hererun="1"> /home/php </sample> == 定义和用法 == getchwd() 函数返回当前工作目录。 == 语法 == <pre> getcwd();</pre> == 技术细节 == {| class="table table-striped table-hover" | 返回值: | 成功则返回当前工作目录。失败则返回 FALSE。 |- | PHP 版本: | 4.0+ |} [[:Category:PHP Directory 文件目录参考手册]]
返回至“
Func directory getcwd
”。
上一节:
Func_directory_dir
下一节:
Func_directory_opendir