EchoFool Posted March 28, 2008 Share Posted March 28, 2008 I want to create a page where by it is interactive between two people in a live situation. What i mean is , say one user is "waiting" for the other person to make a move. Then that person makes that move and it will auto "refresh" the person who is waiting so that they see that it is their turn? Is there such a way to auto refresh the page of the waiting person ? Link to comment https://forums.phpfreaks.com/topic/98420-can-this-be-done/ Share on other sites More sharing options...
ohdang888 Posted March 28, 2008 Share Posted March 28, 2008 well there are flash games like that. So yes, it can be done. Link to comment https://forums.phpfreaks.com/topic/98420-can-this-be-done/#findComment-503676 Share on other sites More sharing options...
EchoFool Posted March 30, 2008 Author Share Posted March 30, 2008 flash is not php though... I'm asking can it be done in PHP only and nothing else? Link to comment https://forums.phpfreaks.com/topic/98420-can-this-be-done/#findComment-505028 Share on other sites More sharing options...
rofl90 Posted March 30, 2008 Share Posted March 30, 2008 Maybe with some intervals and sleep()'s, highly unrecommended in my opinion though. Link to comment https://forums.phpfreaks.com/topic/98420-can-this-be-done/#findComment-505031 Share on other sites More sharing options...
EchoFool Posted April 1, 2008 Author Share Posted April 1, 2008 Which language is best then ? Flash.. or possibly asp ? =/ Link to comment https://forums.phpfreaks.com/topic/98420-can-this-be-done/#findComment-506912 Share on other sites More sharing options...
Helmet Posted April 1, 2008 Share Posted April 1, 2008 Javascript? AJAX? Link to comment https://forums.phpfreaks.com/topic/98420-can-this-be-done/#findComment-506914 Share on other sites More sharing options...
EchoFool Posted April 1, 2008 Author Share Posted April 1, 2008 Well i tried to avoid them because users can turn them off, thats why was hoping there was a server side method. Link to comment https://forums.phpfreaks.com/topic/98420-can-this-be-done/#findComment-506924 Share on other sites More sharing options...
mkoga Posted April 2, 2008 Share Posted April 2, 2008 You should check out creating a socket server. http://us2.php.net/sockets Link to comment https://forums.phpfreaks.com/topic/98420-can-this-be-done/#findComment-507212 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.