Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17240 программистов и 1834 робота. Сейчас ищет 1701 программист ...
MP3_Id::remove
Вернуться к: MP3_Id
MP3_Id::remove
MP3_Id::remove() – remove tags
Synopsis
require_once 'Id.php';
void MP3_Id::remove ( boolean $id3v1 = true , boolean $id3v2 = true )
Removes all tags from a file.
Parameter
- boolean $id3v1
-
TRUE to remove tags
- boolean $id3v2
-
unused
Throws
Error code | Error message | Reason | Solution |
---|---|---|---|
PEAR_MP3_ID_FNO | "Unable to open $file" | The provide file name could not be opened | The file is currently write protected or doesn't exists. |
PEAR_MP3_ID_RE | "Unable to see to end - 128 of $file" or "Unable to see to end of $file" | A read error occured | The file is too short or empty - not a MP3 file or a corrupted one. |
Note
This function can not be called statically.
Вернуться к: MP3_Id