Page 1 of 1

help needed

Posted: Fri Mar 11, 2005 1:23 pm
by Afreen1
We are trying to make a 4 player online game using PHP/my Sql.(the players are required to login simultaneoulsy).Now we have to take the input from the form of each player,process it and then update the forms accordingly.For example..after a certain sequence of events the the week number is incremented for all 4 players.Now all the 4 forms for each player should show the correct week number. How do we exactly do this.
any help would be appreciated .
thanks

Posted: Fri Mar 11, 2005 1:28 pm
by feyd
if I understand you correctly.. it's kind of a pain with PHP alone. Each player will have their own script that must either run infinitely until they log out or you need the page to refresh every few seconds or minute.

A realtime interface such as Java or Flash would handle such things a bit easier. There's XMLHTTPRequest as well.. :?