Informacje z branży IT:
Serwisy społecznościowe stają się coraz bardziej opłacalnym źródłem dochodów, którego trzeba bronić przed coraz bardziej pomysłową konkurencją. Wiedzą o tym szefowie popularnego portalu o nazwie Facebook. Dlatego właśnie, prawnicy tej spółki złożyli niedawno pozew przeciwko brazylijskiej witrynie o nazwie Power.com.
Sun, 4 Jan 2009 14:30:58 +0100
Kilka dni temu firma Microsoft złożyła wniosek o przyznanie patentu na korzystanie z komputera w systemie pre-paid. Okazuje się jednak, że amerykański urząd nie przychylił się do próśb giganta z Redmond i podanie odrzucił.
Sun, 4 Jan 2009 12:16:41 +0100
W najnowszej publikacji "The Race for a New Game Machine", której autorami jest dwóch inżynierów z firmy IBM, pojawiła się bardzo ciekawa informacja o tym, że Sony w znacznej części pokryło koszt wyprodukowania procesora Xenon, który znalazł się w konkurencyjnej konsoli Xbox 360 od Microsoftu.
Sun, 4 Jan 2009 12:01:30 +0100
Porozmawiamy jakie są trendy w świecie wirusów komputerowych. Powiemy też jak skutecznie chronić nasz komputer przed spywarem i wirusami komputerowymi oraz innymi zagrożeniami z sieci. Naszymi gośćmi będą Olga Komuda, Adam Żelazko i Piotr Walas szef działu technicznego Panda Security.
Kurs programowania:
LXI. ID3 Functions
Wstęp
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.
Wymagania
Do zbudowania tego rozszerzenia nie są wymagane żadne zewnętrzne biblioteki.
Instalacja
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.
Konfiguracja uruchomieniowa
To rozszerzenie nie definiuje posiada żadnych dyrektyw konfiguracyjnych w pliku php.ini.
Typy zasobów
To rozszerzenie nie posiada żadnych rodzajów zasobów.
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_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.
- Spis treści
- 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 frame
- 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
| Poprzedni | Spis treści | Następny |
| ob_iconv_handler | Początek rozdziału | id3_get_frame_long_name |
Kaspersky Lab, producent rozwiązań do ochrony danych, opublikował nowy artykuł analityczny pt. "Identyfikowanie botnetów rozsyłających spam z wykorzystaniem metody skoordynowanych dystrybucji".