Query: id3_remove_tag
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ID3_REMOVE_TAG(3) 1 ID3_REMOVE_TAG(3) id3_remove_tag - Remove an existing ID3 tagSYNOPSISbool id3_remove_tag (string $filename, [int $version = ID3_V1_0])DESCRIPTIONid3_remove_tag(3) is used to remove the information stored of an ID3 tag.PARAMETERSo $filename - The path to the MP3 file Instead of a filename you may also pass a valid stream resource o $version - Allows you to specify the version of the tag as MP3 files may contain both, version 1.x and version 2.x tags.RETURN VALUESReturns TRUE on success or FALSE on failure.EXAMPLESExample #1 id3_remove_tag(3) example <?php $result = id3_remove_tag( "path/to/example.mp3", ID3_V1_0 ); if ($result === true) { echo "Tag successfully removed "; } ?> If the file is writable and contained a 1.0 tag, this will output: Tag successfully removedNOTESNote Currently id3_remove_tag(3) 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.SEE ALSOid3_set_tag(3), id3_get_tag(3), id3_get_version(3). PHP Documentation Group ID3_REMOVE_TAG(3)
Related Man Pages |
---|
id3(1) - debian |
mp3cut(1) - debian |
tracker-tag(1) - suse |
mp3::tag::file(3pm) - debian |
mp3::tag::id3v1(3pm) - debian |