|
użytkowników online: 42
|
OPINIE UŻYTKOWNIKÓW
|
Uważam, że serwis jest najlepszy na świecie. Wykonany rzetelnie, a wszystkie skrypty sa dopracowane. Zamieszczony materiał godny mistrza. Jestem programistą od wielu lat i bez tego serwisu nie istnieje. Upraszacza życie każdemu programiście. Imponujący jest fakt, że do twórcy serwisu zawsze można się zwrócić z prośbą o pomoc i uzyskuje się ją w bardzo krótkim czasie. Najważniejsze w tym wszystkim jest to, że można korzystać z witryny za symboliczną opłatą.
Marcin Kowalski Multinet Polska
|
|
PODRĘCZNIK PHP 5.x, 4.x, 3.x - częściowo spolszczony / źródło: www.php.net
[Spis]
[A]
[B]
[C]
[D]
[E]
[F]
[G]
[H]
[I]
[J]
[K]
[L]
[M]
[N]
[O]
[P]
[Q]
[R]
[S]
[T]
[U]
[V]
[X]
[W]
[Z]
XLIX. ID3 Functions
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.
Since version 0.2 it is also possible to extract text frames from
ID3 v2.2+ tags.
Do zbudowania tego rozszerzenia nie są wymagane
żadne zewnętrzne biblioteki.
id3 is part of PECL and can be installed using the PEAR installer.
To compile PHP with id3 support, download the sourcecode, put it in
php-src/ext/id3 and compile PHP using --enable-id3.
To rozszerzenie nie definiuje posiada żadnych
dyrektyw konfiguracyjnych w pliku php.ini. To rozszerzenie nie posiada żadnych rodzajów zasobów.
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_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.
- 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 would like to let the id3 functions
determine which tag version should be used.
User Contributed Noteswmd at wazee dot org
11-Jul-2004 11: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 http://getid3.sourceforge.net/ as well as the id3 reader class integrated in the Zina is not Andromeda project (http://pancake.org/zina.html)
|