-
Games Lists
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?
-
-
That will probably require the PHP/MySql duo. MySql stores info in the database, and PHP executes it:
http://php-mysql-tutorial.com
- Mike
-
-
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?
-
-
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.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks