View Single Post
Old 05-25-2010, 12:47 AM   #2 (permalink)
Village Idiot
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

Quote:
Originally Posted by Peuplarchie View Post
Good day to you all,
I was looking into makeing a database of all my image and I was wondering if there is a way to read a recursive directory and store it into the database.

I don't have a clue on how, even if I have search the web for a while.


Thanks, take care and have a good one !
You would have to do it via PHP. There should be tons of scripts with the ability to list files out there, just use fstream to get the content and store it.

Out of interest, why are you storing files in the database? Databases really are not meant for that sort of thing.
__________________

Village Idiot is offline  
Reply With Quote