What are an ID3 tags in PHP?
Hi friends,
I have done the programs in PHP to a great extent, but not that great.!! At many places I have seen the use of ID3 tags in PHP programming language. I don't know anything about it. Even I tried searching on the Web, but the solutions were not appropriate. So please explain me what are an ID3 tags in PHP.?? Waiting for the replies.!! :notworthy
Re: What are an IDE3 tags in PHP?
ID3 tags are related to the audio manipulation. ID3 tags are used in MP3 files to store the title of a song, as well as information about the artist, album, genre, year and track number. Since version 0.2, it is also possible to extract text frames from ID3 v2.2 + tags. These functions are available in the standard PHP module, which is always available.
Re: What are an IDE3 tags in PHP?
Most of the id3 functions either let you specify or return a tag. To specify the version, use one 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.
- 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 version 1.0 and a field representing the number of runway.
- ID3_V2_1 (integer) - ID3_V2_1 is used if you are working with ID3 V2.1 tags.
- ID3_V2_2 (integer) - ID3_V2_2 is used if you are working with ID3 V2.2 tags.
Re: What are an IDE3 tags in PHP?
I am providing you with more ID3 constants that are used during the functions :
- ID3_V2_3 (integer) - ID3_V2_3 is used if you are working with ID3 V2.3 tags.
- ID3_V2_4 (integer) - ID3_V2_4 is used if you are working with ID3 V2.4 tags.
- ID3_BEST (integer) - ID3_BEST is used if you want to let the id3 functions determine which tag version should be used.
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.
Re: What are an ID3 tags in PHP?
The following are some functions that ID3 uses :
- id3_get_frame_long_name - Get the long name of an ID3v2 frame
- id3_get_frame_short_name - Get the short name of an ID3v2
- 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 - Delete ID3 Tag