PHP: ID3 Functions - Manual
PHP  
downloads | documentation | faq | getting help | mailing lists | | php.net sites | links | my php.net 
search for in the  
<ibase_wait_eventid3_get_genre_id>
view the version of this page
Last updated: Thu, 15 Jul 2004

XLVI. ID3 Functions

�vod

These functions let you read and manipulate ID3 tags. ID3 tags are used in MP3 files to store title of the song, as well as information about the artist, album, genre, year and track number.

Po�adavky

Tyto funkce jsou k dispozici jako sou��st standardn�ho modulu, kter� je v�dy dostupn�.

Instalace

id3 is part of PECL and can be installed using the PEAR installer. To compile PHP with id3 support, downloadthe sourcecode, put it in php-src/ext/id3 and compile PHP using --enable-id3.

Konfigurace b�hu

Toto roz���en� nem� definov�no ��dn� konfigura�n� direktivy.

Typy prost�edk�

Toto roz���en� nem� definov�n ��dn� typ prost�edku (resource).

Predefined Constants

Most of the id3 functions either let you specify or return a tag version. In order to specify the version please use on of these constants.

ID3_V1_0 (integer)

ID3_V1_0 is used if you are working with ID3 V1.0 tags. These tags may contain the fields title, artist, album, genre, year and comment.

ID3_V1_1 (integer)

ID3_V1_1 is used if you are working with ID3 V1.1 tags. These tags may all information contained in v1.0 tags plus the track number.

ID3_V2 (integer)

ID3_V2 is used if you are working with ID3 V2.x tags. These tags are quite flexible and are currently not supported by the id3 extension.

Obsah
id3_get_genre_id -- Get the id for a genre.
id3_get_genre_list -- Get all possible genre values.
id3_get_genre_name -- Get the name for a genre id.
id3_get_tag -- Get all information stored in an ID3 tag
id3_get_version -- Get version of an ID3 tag
id3_remove_tag -- Remove an existing ID3 tag
id3_set_tag -- Update information stored in an ID3 tag


add a note add a note User Contributed Notes
ID3 Functions
wmd at wazee dot org
11-Jul-2004 09:31
There are several highly developed id3 reader classes written in php that include id3v2 support, and support for other file formats (not just mpeg & id3). I recommend as well as the id3 reader class integrated in the Zina is not Andromeda project ()

<ibase_wait_eventid3_get_genre_id>
 Last updated: Thu, 15 Jul 2004
show source | credits | sitemap | contact | advertising | mirror sites 
Copyright © 2001-2004 The PHP Group
All rights reserved.
This unofficial mirror is operated at: /
Last updated: Sun Nov 14 23:09:54 2004 Local time zone must be set--see zic manual page