gnawz Posted April 30, 2008 Share Posted April 30, 2008 Dear experts I need help on how to notify users in a website when some one else logs in or when a record has gone into the database. Something like a pop-up or sound beep can someone help? Quote Link to comment Share on other sites More sharing options...
willpower Posted April 30, 2008 Share Posted April 30, 2008 To the very best of my knowledge this is not possible as PHP is a server side script. You could have the script send an email tho. To have a pop up appear etc would involve a client side script but i cant think of any way to do what you requested Quote Link to comment Share on other sites More sharing options...
Rohan Shenoy Posted April 30, 2008 Share Posted April 30, 2008 You can use an AJAX script that checks the database periodically, lets say at interval of 3 mins. Depending upon the response, you can display an alert message(in javascript) 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.