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... Quote 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! Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.