help needed

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Afreen1
Forum Newbie
Posts: 1
Joined: Fri Mar 11, 2005 1:15 pm

help needed

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.. :?
Post Reply