getaudio_time.php 262 B

1234567891011121314
  1. #!/usr/bin/php -q
  2. <?php
  3. require_once('getid3.php');
  4. $fileUrl ="11471.mp3";
  5. $getID3 = new getID3(); //ʵÀý»¯Àà
  6. $ThisFileInfo = $getID3->analyze("11471.mp3");
  7. $time = $ThisFileInfo['playtime_seconds'];
  8. $agi->verbose($ThisFileInfo['playtime_seconds']);
  9. ?>