La mia discussione è stata spostata a PHP dove ho trovato alcuni che si sono interesati, ma solo per chiarire e senza animo di polemizare, vorrei segnalare che la discussione da me iniziata non c'entra niente con PHP in quanto si tratta di lato cliente. Ecco lo script
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<header></header>
<title>UPLOAD CANZONI</title>
<script type="text/javascript" src="C:\\Programmi\\EasyPHP-5.3.5.0\\www\\binaryajax.js" ></script>
<script type="text/javascript" src="C:\\Programmi\\EasyPHP-5.3.5.0\\www\\id3.js" ></script>
<script>
var file = "C:\\Programmi\\EasyPHP-5.3.5.0\\www\\aquello.mp3";
// define una funzione di callback
function mycallback() {
// either call the ID3.getAllTags([file]) function which returns an object holding all the tags
alert("All tags in this file: " + ID3.getAllTags(file).toSource() );
// or call ID3.getTag([file], [tag]) to get a specific tag
alert("Title: " + ID3.getTag(file, "title") + " by artist: " + ID3.getTag(file, "artist") );
}
ID3.loadTags(file, mycallback);
</script>
<body bgcolor="#FFFFCC" >
<form name="datos" >
<h1><CENTER><FONT="12">UPLOAD CANZONI</FONT></CENTER> </h1>
<input type="button" onclick="mycallback()" value="tagMp3">;
</body>
</html>

Rispondi quotando
