Comunitatea PHP Romania
 

 
id3_get_genre_id

id3_get_genre_id

(no version information, might be only in CVS)

id3_get_genre_id -- Get the id for a genre.

Description

int id3_get_genre_name ( string genre)

id3_get_genre_id() returns the id for a genre. If the specified genre is not available in the genre list, id3_get_genre_id() will return FALSE

Notã: Instead of a filename you may also pass a valid stream resource.

In an ID3 tag, the genre is stored using a integer ranging from 0 to 147.

Exemplu 1. id3_get_genre_id() example

<?php
$id
= id3_get_genre_id("Alternative");
echo
$id;
?>

This will output:

20

See also id3_get_genre_list() and id3_get_genre_name().

Ultimele discutii in forum RSS Forum

Ultimele articole Ultimele articole

Top membri

Pirahna Pirahna
acasa , in pat
carco carco
Bucuresti
Birkoff Birkoff
Bucuresti
Mascka Mascka
Braila
raul_ raul_
whooper whooper
Toronto ON
mihaitha mihaitha
Sibiu
gabysolomon gabysolomon
Bacau
oriceon oriceon
Constanta
garlicinicolae garlicinicolae

Newsletter


Email:
 inscriere
 renuntare
 
 Arhiva newsletter

Parteneriat

Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Remortgages | TurboTax Software | Loans | Car Insurance | Loans
Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
Powered by Simplis