©
本文檔使用 php中文網手册 發布
(0.0.1)
KTaglib_MPEG_File::__construct — Opens a new file
$filename
)Opens a new MPEG file.
filename
The file to read
Example #1 Opens a new MP3 file and read the title
<?php
$mpeg = new KTaglib_MPEG_File ( 'example.mp3' );
echo $mpeg -> getID3v1Tag ()-> getTitle ();
?>