NYCPHP Meetup

NYPHP.org

[nycphp-talk] seperating files

Andy Dirnberger dirn at dirnonline.com
Tue Feb 13 18:25:37 EST 2007


Check out: http://pear.php.net/package/MP3_ID
________________________________________
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of selyah
Sent: Tuesday, February 13, 2007 5:18 PM
To: talk at lists.nyphp.org
Subject: [nycphp-talk] seperating files

Hello PHP talk:
I a very new to PHP and need assistance with an issue.  I am creating a
script to reads a list of files (mp3's) from a folder and places them into
an array to be separated into different genres (rock, allternatives, hiphop,
etc).  My issues how do I go about getting the files after they have being
read, to be place into the genre per their description. For example
:music/instrumental/rock
/trackname.mp3. 
I found the readdir function which helped a great deal in placing them into
the array, I just heed a function that does the second part.  Your help
would be very appreciated.  Thank you
selyah




More information about the talk mailing list