1
Web Oriented Coding / Re: How do I make the 'server' notify the web page when to refresh?
« on: February 11, 2015, 03:27:20 AM »
Your best bet for something like this is a websocket, NodeJS(could be fun), or an instant messaging framework like AJAXIM (http://ajaxim.com/) or .
Personally if I were to be doing this I would go the nodeJS route, but if you're 100% stuck on PHP and JS there is this tutorial that could help you clean up your code/develop a good system.
http://www.pixel2life.com/forums/index.php?/topic/42552-ajaxphp-instant-messaging-system/
Personally if I were to be doing this I would go the nodeJS route, but if you're 100% stuck on PHP and JS there is this tutorial that could help you clean up your code/develop a good system.
http://www.pixel2life.com/forums/index.php?/topic/42552-ajaxphp-instant-messaging-system/