Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

id3_remove_tag

(PECL)

id3_remove_tag -- Remove an existing ID3 tag

Описание

bool id3_remove_tag ( string filename [, int version] )

id3_remove_tag() is used to remove the information stored of an ID3 tag.

Список параметров

filename

The path to the MP3 file

Instead of a filename you may also pass a valid stream resource

version

Allows you to specify the version of the tag as MP3 files may contain both, version 1.x and version 2.x tags.

Возвращаемые значения

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.

Примеры

Пример 1. id3_remove_tag() example

<?php
$result
= id3_remove_tag( "path/to/example.mp3", ID3_V1_0 );
if (
$result === true) {
    echo
"Tag succesfully removed\n";
}
?>

If the file is writable and contained a 1.0 tag, this will output:

Tag succesfully removed

Примечания

Замечание: Currently id3_remove_tag() only supports version 1.0 and 1.1. If you choose to remove a 1.0 tag and the file contains a 1.1 tag, this tag will be removed, as v1.1 is only an extension of 1.0.

Смотрите также

id3_set_tag()
id3_get_tag()
id3_get_version()



add a note add a note User Contributed Notes
id3_remove_tag
There are no user contributed notes for this page.

id3_set_tag> <id3_get_version
Last updated: Sat, 27 Jan 2007
 
 
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 324

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 330
Z058440144362 Z348613067571