PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Daniel Martinez-Morales   MP3 ID3v2 Tag   test.php   Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Test file
Class: MP3 ID3v2 Tag
Get id2v2 frames of mp3 files
Author: By
Last change:
Date: 22 years ago
Size: 436 bytes
 

Contents

Class file image Download
<?
  
/* This code is released under the GNU LGPL. Go read it over here:
    *
    * http://www.gnu.org/copyleft/lesser.txt
    */
   
include_once("id3v2.php");
if (!isset(
$file)) $file="";
$mp3 = new id3v2;
$ini=$mp3->myMicrotime();
if (
is_dir($file)){
$mp3->myReaddir($file);}
else{
$mp3->GetInfo($file);
$mp3->ShowInfo();
}
$end=$mp3->myMicrotime();
$donetime=$end-$ini;
echo
"<br>All done in ".$donetime." seconds<br>";
?>