Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : ID3 Functions : id3_remove_tag

id3_remove_tag

Remove an existing ID3 tag (PECL id3:0.1-0.2)
bool id3_remove_tag ( string filename [, int version] )

Example 976. 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

Change Language


Follow Navioo On Twitter
id3_get_frame_long_name
id3_get_frame_short_name
id3_get_genre_id
id3_get_genre_list
id3_get_genre_name
id3_get_tag
id3_get_version
id3_remove_tag
id3_set_tag
eXTReMe Tracker