PHP Get metadata of remote .mp3 file (from url)
I am trying to get song name
/ artist name
/ song length
/ bitrate
etc. from the remote.mp3 file , for example http://shiro-desu.com/scr/11.mp3 .
I tried the getID3 script but from what I understand it doesn't work for remote files as I got this error: "Remote files are not supported - copy file locally first"
Also this code:
<?php
$tag = id3_get_tag( "http://shiro-desu.com/scr/11.mp3" );
print_r($tag);
?>
doesn't work either.
"Fatal error: Call to undefined function id3_get_tag () in / home 4 / shiro / public_html / scr / index.php on line 2"
+3
source to share