Return filename from the specified path: Copy <?php $path = "/testweb/home.php"; //Show filename echo basename($path) ."\n"; echo basename($path,".php"); ?>.
確定! 回上一頁