|
id3_get_tag
Get all information stored in an ID3 tag
(PECL id3:0.1-0.2)
Example 973. id3_get_tag() example<?php The above example will output something similar to: Array Example 974. id3_get_tag() example<?php The above example will output something similar to: Array Code Examples / Notes » id3_get_tagpatrik weibull
The function generates a SEGFAULT (!) if ran on mp3 files containing tags from different id3-versions. Therefore, you should always use the optional version parameter, such as id3_get_tag($yourfile, id3_get_version($yourfile)) jbwalker
I couldn't get this to work in Windows XP. Windows users may be interested to note that the following bug with Windows, reported in Feb 2006, appears not to have been fixed yet. http://pecl.php.net/bugs/search.php? cmd=display&status=Open&package_name[]=id3 (NB you'll have to concat the two lines above) |