View Full Version : Games Lists
Hyper
06-03-2007, 02:46 PM
I want to make a simple listing service on my website. One person runs a game and sends a message to my site, another person wants to join the game and this list gets sent to that client (ip address of the game server)
I am unsure how to make php go into a listen mode and how to parse input as in argv argc.
Any pointers?
mburt
06-03-2007, 07:29 PM
That will probably require the PHP/MySql duo. MySql stores info in the database, and PHP executes it:
http://php-mysql-tutorial.com
Hyper
06-04-2007, 12:39 PM
Not sure it would have to tag a database if all it needs to do is maintain a list that will grow and shrink in size. Depends on the size I suppose. Back to the question.
I am unsure how to make php go into a listen mode and how to parse input as in argv argc.
Any pointers?
djr33
06-04-2007, 05:45 PM
Listen mode?
PHP runs each time the page is requested on the server. The server gets the request, the page is parsed, and the server sends the resulting text (html, etc.) to the user.
In other words, if you just request the page then it will be in 'listen mode', waiting for that request.
Note that databases are quite flexible, since they are designed to be accessed and modified frequently. Take a closer look at that tutorial and most anything you need to do should seem possible, at least in terms of data access/storage.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.