zshadow Posted August 3, 2009 Share Posted August 3, 2009 I have an application that writes data to a text file. Essentially, I want to grab results from that file and write them to a MySQL database. Cron is out of the question, since it only runs in minute intervals. The file is not written to *every* second but I need the information logged to a database as it's written to the text file. Would PHP work for this or is there a better alternative? Quote Link to comment https://forums.phpfreaks.com/topic/168594-polling-text-file-with-php/ Share on other sites More sharing options...
infiniteacuity Posted August 11, 2009 Share Posted August 11, 2009 Couldn't the application also insert directly into the database at the same time it is writing to the text file? Quote Link to comment https://forums.phpfreaks.com/topic/168594-polling-text-file-with-php/#findComment-895635 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.