MP3_Id::write() – save changed tags


require_once 'Id.php';

void MP3_Id::write ( boolean $v1 = true )


Updates the tags on the file.


boolean $v1

if TRUE update/create an Version 1-tag on the file


Possible PEAR_Error values
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.


This function can not be called statically.

does extra work to get the MPEG frame info (Previous) OpenDocument (Next)
Last updated: Sun, 04 Oct 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.