Rate Article

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Zoram
Forum Contributor
Posts: 166
Joined: Sun Aug 18, 2002 3:28 pm
Location: Utah
Contact:

Rate Article

Post by Zoram »

Alright, I need to figure out a way to make it so that people can rate an article when they view it... I need to find out how to script it so that it doesn't allow the same ip address to vote more than once and I need to figure out how to keep a running total of the rating and number of votes...

Can anybody help?
User avatar
mikeq
Forum Regular
Posts: 512
Joined: Fri May 03, 2002 3:33 am
Location: Edinburgh, Scotland

Post by mikeq »

Don't use an IP Address, many users behind a firewall would appear with the same IP. Dial-up accounts often reassign IP's next time the person dials in.

You need to look at cookies/sessions or something like that.
Post Reply