How to use getID3?

The place for "I can't figure out how to..." questions.

How to use getID3?

Postby 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
require_once('getid3/getid3.php');
$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.

Thanks.
tfe
User
 
Posts: 1
Joined: Sun Aug 30, 2015 11:22 am

Return to Support 1.x

Who is online

Users browsing this forum: No registered users and 2 guests

cron