<?php
require('error.inc.php');
require('id3.class.php');
$nome_arq = 'Blind Guardian - Bright Eyes.mp3';
$myId3 = new ID3($nome_arq);
if ($myId3->getInfo()){
echo('<HTML>');
echo('<a href= "'.$nome_arq.'">Clique para baixar: </a><br>');
echo('<table border=1>
<tr>
<td><strong>Artista</strong></td>
<td><strong>Titulo</strong></font></div></td>
<td><strong>Trilha</strong></font></div></td>
<td><strong>Album/Ano</strong></font></div></td>
<td><strong>Gênero</strong></font></div></td>
<td><strong>Comentários</strong></font></div></td>
</tr>
<tr>
<td>'. $myId3->getArtist() . ' </td>
<td>'. $myId3->getTitle() . ' </td>
<td>'. $myId3->getTrack() . ' </td>
<td>'. $myId3->getAlbum() . '/'.$myId3->getYear().' </td>
<td>'. $myId3->getGender() . ' </td>
<td>'. $myId3->tags['COMM']. ' </td>
</tr>
</table>');
echo('</HTML>');
}else{
echo($errors[$myId3->last_error_num]);
}
?>
|