PHP Directory 函數(shù)
getcwd() 函數(shù)返回當前目錄。
若成功,則返回當前工作目錄,否則返回 false。
getcwd()
<?php echo getcwd(); ?>
輸出:
C:\testweb\main
Search: