<?php $data = array( "title" => "Re:Start", "artist" => "Re:\Legion", "comment" => "A nice track" );$result = id3_set_tag( "path/to/example.mp3", $data, ID3_V1_0 ); if ($result === true) { echo "Tag succesfully updated\n"; }?>
If the file is writable, this will output:
Tag succesfully updated