Code: Select all
<?php
$mydir = dir('e:');
while(($file = $mydir->read()) !== false) {
if(is_dir($mydir->path.$file)) {
echo "(D) $file<BR>";
}}
?>Code: Select all
(D) Albums - ALBW(Un-Wrapped)
(D) Albums - Non ALBW
(D) ALBW Albums
(D) apps
(D) Artist vs Artist
(D) Coverz
(D) Megamixes
(D) mpg
(D) new mp3's
(D) RECYCLER
(D) Singles
(D) sorted Albums
(D) System Volume Information
(D) Unknown artists
(D) US #1s 1956-2001what im trying to do is scan my drives for mp3 files and import them into mysql database. I know there are progs to do this but i cant find one to do exactly what i want.
I need it to insert the following
filename (obviously)
tag info (most do this)
complete path to the file (for easy linking)