PHP basename () 函数. ... basename() 函数返回路径中的文件名部分。 ... <?php $path = "/testweb/home.php"; //显示带有文件扩展名的文件名 echo basename($path); ...
確定! 回上一頁