Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-25-2003, 04:35 AM   PM User | #1
MePerson2k
Registered User

 
Join Date: Jul 2003
Location: In the mud.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
MePerson2k is an unknown quantity at this point
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 04:37 AM..
MePerson2k is offline   Reply With Quote
Old 11-25-2003, 08:54 PM   PM User | #2
Socraties
New Coder

 
Join Date: Jun 2002
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
Socraties is an unknown quantity at this point
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).
Socraties is offline   Reply With Quote
Old 11-25-2003, 10:52 PM   PM User | #3
Funkel
New Coder

 
Join Date: Oct 2003
Location: Australia
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Funkel is an unknown quantity at this point
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.
Funkel is offline   Reply With Quote
Old 11-26-2003, 05:10 AM   PM User | #4
MePerson2k
Registered User

 
Join Date: Jul 2003
Location: In the mud.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
MePerson2k is an unknown quantity at this point
MySQL

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

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:02 AM.


Advertisement
Log in to turn off these ads.