[PHP-DB] File Path into variables From: Jeremy (sparhawk <email protected>)
Date: 10/15/00

I am wondering how to turn a file path into variables that can be stored in a database. I need to get variable for multiple files. An example file is
/l/led_zeppelin/stairway_to_heaven.txt

I want to make
/$letter/$artist/$song
and put the song txt or html file into a Blob field.

My database would look like this :

id,letter,artist,song,lyrics

Does anybody know how to do this? I know how to open, copy, and rename files, but am unclear on how to turn file paths into variables, or do mass additions

Any help would be appreciated.
Thanks,
Jeremy Ferwerda