Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2003
    Location
    In the mud.
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Keeping track of points

    Please excuse the title, I wasn't exactly sure how to word it.

    Anyway...On my site, I want to have a system where users can earn points, and then use them later to get stuff (kinda like neopets.com or pogo.com). Do you have to use PHP to keep track of each person's points, or can you use something else? I'm thinking that with PHP, each person could have a username and password, but is there anything else you could do that with?
    Last edited by MePerson2k; 11-25-2003 at 05:37 AM.

  • #2
    New Coder
    Join Date
    Jun 2002
    Posts
    73
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The first thought that comes to mind is a username password with a database or flat file. If you use it with cookies only, when a user deletes their cookies they would delete points essentially.

    With a username password database you could have an additional field that is for points and just update the database with the points they have earned or used.

    That would be the simpliest way I can think of, otherwise you are stuck using a flat file (text file).

  • #3
    New Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Security would be your main problem with this system.

    Anyone with a little knowledge is going to try and hack the system.

    MYSQL would be a good option as you would be able to log events and keep track of everything that happens.

    The text file method is okay but slow if you want to compare users results.

    MYSQL is usually installed on a server with PHP, they sort of go hand in hand.

  • #4
    Registered User
    Join Date
    Jul 2003
    Location
    In the mud.
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    MySQL

    You're right about MySQL. I was planning on using that once I get everything figured out and sorted with my site. Thanks.


  •  

    Posting Permissions

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