Jump to content

Newbie help with Get ID3 function


ice1000

Recommended Posts

I'm trying to just test out the Get ID3 function form Sourceforge.[url=http://getid3.sourceforge.net/]http://getid3.sourceforge.net/[/url]

The readme file says:
[quote]
Usage
=====
require_once('/path/getid3.php');
$getID3 = new getID3;
$fileinfo = $getID3->analyze($filename);

See structure.txt for the returned data structure.

*>  For an example of a complete directory-browsing,      <*
*>  file-scanning implementation of getID3(), please run  <*
*>  /demos/demo.browse.php                                <*

See /demos/demo.basic.php for a very basic use of getID3() with no
fancy output, just scanning one file.[/quote]

I can't get anything to work.

I tried this:
[code]<HTML>
<BODY><?
include ('C:\Program Files\xampp\htdocs\getid3\demos\demo.basic.php');
$filename = 'Adiemus-Adiemus.mp3';
require_once('getid3.php');
$getID3 = new getID3;
$fileinfo = $getID3->analyze($filename);?>
</BODY>
</HTML>[/code]
and I get

analyze($filename);?>

in the browser.

What am I doing wrong?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.