Search the Community
Showing results for tags 'id3'.
-
<?php header("Content_Type: text/xml"); $xmlBody = '<?xml version="1.0" encoding="ISO-8859-1"?>'; $dir = "SOUNDS/"; $xmlBody .= "<XML>"; $dirHandle = opendir($dir); $i = 0; while ($file = readdir($dirHandle)) { if(!is_dir($file) && strpos($file, '.mp3')){ $i++; $myId3 = new ID3($file); $xmlB...
-
Hi I have this code below. I'm using getid3 to get the file name, artist, and title of the songs I have in the $SongsFolder. What I'm trying to do is make the artist and title accessible so I can get this info in my iPhone app for example. I figure I would replace echo with something else but how wo...
-
Hi I have this code below. What I'm trying to do below is access .mp3 songs that are in my folder called "songs" When I do this code it doesn't show anything for the Artist, Title or anything anymore. Why is that? <?php require_once('/home/manveers94/public_html/getID3-1.9.7/getid3/getid3.php'...
-
So in my code below I have a script where it shuffles through .mp3 in a folder. How can I make the line below know which song the shuffle() has picked? $ThisFileInfo = $getID3->analyze($Songs[0]); <?php require_once('/home/manveers94/public_html/getID3-1.9.7/getid3/getid3.php'); $g...