Peuplarchie Posted May 24, 2010 Share Posted May 24, 2010 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 ! Quote Link to comment https://forums.phpfreaks.com/topic/202778-read-picture-dir-and-store-pics-to-mysql/ Share on other sites More sharing options...
premiso Posted May 24, 2010 Share Posted May 24, 2010 glob Look in the user comments section for "rglob". You can also use scandir, also look in the user section for the recursive version of this. Quote Link to comment https://forums.phpfreaks.com/topic/202778-read-picture-dir-and-store-pics-to-mysql/#findComment-1062780 Share on other sites More sharing options...
Peuplarchie Posted May 25, 2010 Author Share Posted May 25, 2010 I know how to read, list files with glob, the part I don't know is how to put the result into the db, url or whole image. Quote Link to comment https://forums.phpfreaks.com/topic/202778-read-picture-dir-and-store-pics-to-mysql/#findComment-1062802 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.