PHP : basename. 定義和用法. basename() 函數返回路徑中的文件名部分。 ... "/testweb/home.php"; //顯示帶有文件擴展名的文件名 echo basename($path); //顯示不帶 ...
確定! 回上一頁