vij Posted August 10, 2009 Share Posted August 10, 2009 I am new to mysql and using phpMyadmin with XAMPP. I am trying to synchronize a database with a directory on my computer. The database must contain the names of the files contained within that particular diredtory. Moreover when I add files to that directory, the database should update automatically with the name of the new file. Is this possible. Any hints on how to go about this. Please help me guys... Link to comment https://forums.phpfreaks.com/topic/169562-automatic-database-updation-based-on-files-in-a-directory/ Share on other sites More sharing options...
Highlander Posted August 10, 2009 Share Posted August 10, 2009 I would recommend writing a shell-script that polls your directory (or even use inotify) and runs mysql queries if any new files are added. God luck! Link to comment https://forums.phpfreaks.com/topic/169562-automatic-database-updation-based-on-files-in-a-directory/#findComment-894852 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.