PC Nerd Posted December 13, 2007 Share Posted December 13, 2007 Hi, Im looking at building a game where players vs each other, however I wanted it to be live. ie, in real time. My problem is that you cant sync all theplayers to the server etc, meaning that once a page downloads, it wont be receiving data from teh server. I tend to think that th only way around this problem is using somethign like AJAX or JAVA, however ive been told that its possible to do itin PHP. I was wondering how this would be possible? Thanks Quote Link to comment Share on other sites More sharing options...
Stooney Posted December 13, 2007 Share Posted December 13, 2007 It's very possible, I've used it myself. Read up on this tutorial, it helped me a ton. http://marc.info/?l=php-general&m=112198633625636&w=2 Quote Link to comment Share on other sites More sharing options...
teng84 Posted December 13, 2007 Share Posted December 13, 2007 you can use frame to have the other part of your screen reloading and searching for a certain data and once it gets what you need it will ask you to accept or decline. maybe!! Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted December 13, 2007 Author Share Posted December 13, 2007 Thanks firstly -thats the first AJAX tutoriak that has made sense to me. Thanks Although this is really helpful - I still wanted to avoid the use of AJAX altogehter ( as i am not confiden with it for a comercial project) is there another method that uses only PHP? also - how woudl i go abotu the refresh thing with the frame? Thanks 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.