If the extension is known and is the same for the all the filenames, you can pass the second optional parameter to basename() to tell it to strip that extension ...
確定! 回上一頁