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 ! 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. 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. 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
Archived
This topic is now archived and is closed to further replies.