gagards200 Posted October 13, 2010 Share Posted October 13, 2010 Greetings!! I want to design an alarm system that will remind me or something will pop up if the time is near. Could you give me guyz any idea how to make it in PHP and mysql? Your immediate reply is highly appreciated. Quote Link to comment Share on other sites More sharing options...
trq Posted October 13, 2010 Share Posted October 13, 2010 Why would you want to use php for this? Firstly, you would need to create a deamon of some sort that once started will keep running (in a loop), you would then have it check the time on each iteration of that loop and see if it matches the time stored within your database. As for the alarm sound... theres probably a few ways of doing it, but seriously, the right tools for the job, is something you should take to heart. Quote Link to comment Share on other sites More sharing options...
gagards200 Posted October 13, 2010 Author Share Posted October 13, 2010 Thanks for the idea sir, could you give me which language is better for this project? Quote Link to comment Share on other sites More sharing options...
roopurt18 Posted October 13, 2010 Share Posted October 13, 2010 If the alarm is as simple as an e-mail notification then PHP would be fine. If however you're wanting to create task bar notifications or windows on the screen it won't be as simple. Quote Link to comment Share on other sites More sharing options...
salathe Posted October 13, 2010 Share Posted October 13, 2010 I once wrote something very similar (and super, super simple) script which used PHP in conjunction with Growl (an on-screen notification system for Mac) and the afplay utility program to play some sounds (mp3 files). Make use of tools already available to you and use PHP as a glue between them. Quote Link to comment 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.