Read picture dir and store pics to Mysql
View Single Post
05-25-2010, 12:47 AM
Join Date: Sep 2007
Originally Posted by
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.
View Public Profile
Send a private message to Village Idiot
Find More Posts by Village Idiot