How to use getID3?

The place for "I can't figure out how to..." questions.
Post Reply
Joined:Sun Aug 30, 2015 11:22 am
Are you a spambot?:no
How to use getID3?

Post by tfe » Sun Aug 30, 2015 11:28 am

I just installed getid3 on my Debian server:

Code: Select all

apt-get install php-getid3
What's next? How can I use it on my website?

I have read in some forums that I can use it this way:

Code: Select all

$getID3 = new getID3;
 $path = 'sample.mp3';
$mixinfo = $getID3->analyze( $path );
But I don't know where is located getid3/getid3.php to require it. Should I copy this file to my website's directory or what? I don't understand anything.


Post Reply