Просмотр поста

.
VengefuL_SpiriT

Подскажите, почему id3v2 теги не записываются?

if(!file_exists($file)){
if(copy($copy, $file) === true){
require_once('classes/Id.php');
$id = &new MP3_Id();
$id->read($file);
$name = $id->getTag('name');
$album = $id->getTag('album');
$artists = $id->getTag('artists');
$comment = $id->getTag('comment');
$mysite = 'funlimit.ru';
$muzmo = 'muzmo.ru';
$name = str_replace($muzmo, $mysite, $name);
$album = str_replace($muzmo, $mysite, $album);
$artists = str_replace($muzmo, $mysite, $artists);
$title = str_replace($muzmo, $mysite, $title);
$id->getTag('name', $name);
$id->getTag('album', $album);
$id->getTag('artists', $artists);
$id->getTag('title', $title);
$id->write();
header('location: '.$file);
    }
}
else{
header('location: '.$file);
}