rendered paste body<?phpprint_r($_GET);include 'ID3v1x.php';$ID3 = new ID3v1x();$action=$_GET['action'];$title=$_POST['title'];$artist-$_POST['artist'];$album=$_POST['album'];$year=$_POST['year'];$comment=$_POST['comment'];$track=$_POST['track'];$genre=$_POST['genre'];$file=$_POST['mp3file'];echo $action;//print_r($_POST);print_r($_POST);print_r($_POST);echo "setting tag....";echo $action;if($action=="settag"){$ID32=new ID3v1x();$ID32->write_tag(1, "Title Test", "Artist Test", "Album Test", "2004", "Fatih Hood Test", "2", "13","$mp3_file");echo "\ntestito";}$mp3_file = "aphex_twin-07-heliosphan-rns.mp3";if($ID3->readtag($mp3_file) == true) {echo "<form action='$_SERVER[PHP_SELF]?action=settag' name='form1' method='POST'>";echo "<table width='749' height='385' border='1'> <tr> <td width='288' valign='top'><p>..::::: : File : $mp3_file :::::...<br></p> <p>...::::: : : ID3v1 : $ID3->tag :::::...<br></p> <p>...::::: : : Title : $ID3->title :::::...<br></p> <p>...::::: : : Artist : $ID3->artist:::::...<br></p> <p>...::::: : : Album : $ID3->album :::::...<br></p> <p>...::::: : : Year : $ID3->year :::::...<br></p> <p>...::::: : :Comment : $ID3->comm :::::...<br></p> <p>...::::: : : Track : $ID3->track :::::...<br></p> <p>...::::: : : Genre : $ID3->genre :::::...<br></p></td> <td width='445'> <p> Tagging file: $mp3_file <br></p> <p><input type='text' name='mp3file' size='60' value='$mp3_file'> <p>New title: <input type='text' name='title'><br></p> <p>New artist: <input type='text' name='artist'><br></p> <p>New album: <input type='text' name='album'><br></p> <p>New year:<input type='text' name='year'><br></p> <p> New comment: <input type='text' name='comment'><br></p> <p>New Track Num:<input type='text' name='track'><br></p> <p> New genre:<input type='genre' name='genre'><br></p> <p><input type='submit' name='submit' value='set tag'></p> </for> </td> </tr></table>"; echo "...::::: : File : $mp3_file :::::...<br>"; echo "...::::: : : ----------------------------------<br>"; echo "...::::: : : ID3v1 : $ID3->tag :::::...<br>"; echo "...::::: : : Title : $ID3->title :::::...<br>"; echo "...::::: : : Artist : $ID3->artist:::::...<br>"; echo "...::::: : : Album : $ID3->album :::::...<br>"; echo "...::::: : : Year : $ID3->year :::::...<br>"; echo "...::::: : : Comment : $ID3->comm :::::...<br>"; echo "...::::: : : Track : $ID3->track :::::...<br>"; echo "...::::: : : Genre : $ID3->genre :::::...<br>"; echo "...::::: : : ----------------------------------";}else { echo "Error!"; echo "<br>Error reading TAG identifier, 3 bytes = $ID3->tag";}?>