Results 1 to 4 of 4

Thread: Games Lists

  1. #1
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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?

  2. #2
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    That will probably require the PHP/MySql duo. MySql stores info in the database, and PHP executes it:
    http://php-mysql-tutorial.com
    - Mike

  3. #3
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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?

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,156
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •