Jump to content

Communication PHP Users


markbcn

Recommended Posts

Hello,

 

I have a question regarding design so I thought this was the correct place to ask :)

 

I have a web that contains rooms (each room one .php). Users can login to the web and then enter a room.

Inside the room I have an embbeded flash (a minigame).

 

Now, I would  like that two players in the same room, can play that minigame against each other, so my question is: how can I do the communication between both users?

 

extra-info: my idea is that each time a user does an action, the new situation is saved in the database, then sends some kind of signal to the other user, that one receives the signal, refreshes the flash (which loads the new situation) and does his turn.

 

I really need help on this, really :(

Thanks in advance so much.

Link to comment
https://forums.phpfreaks.com/topic/218469-communication-php-users/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.