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 ? Quote Link to comment 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. Quote Link to comment 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? Quote Link to comment 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. Quote Link to comment 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 ? =/ Quote Link to comment Share on other sites More sharing options...
Helmet Posted April 1, 2008 Share Posted April 1, 2008 Javascript? AJAX? Quote Link to comment 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. Quote Link to comment 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 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.