PHP getcwd() 函数
PHP Directory 函数
定义和用法
getcwd() 函数返回当前目录。
若成功,则返回当前工作目录,否则返回 false。
语法
getcwd()
例子
<?php
echo getcwd();
?>
echo getcwd();
?>
输出:
C:\testweb\main
PHP Directory 函数
PHP Directory 函数
getcwd() 函数返回当前目录。
若成功,则返回当前工作目录,否则返回 false。
输出:
PHP Directory 函数