How to prevent multiple voting? (PHP & MySQL)?
-
I basically have a voting system for games. I'm building an ecommerce website and am inputting a feature to allow users to vote on games good or bad. Now I have PHP knowing if ...show more
-
Answer:
They can change their IP yes or it can automatically change. You can simple use session data as a means of stopping them voting until the session runs out however it would be much more prudent to make a login script as to have proper accounting to then track what people have and haven't voted for. You can also stores these session keys and reassign them when a particular person logs bag in but for simplicity sake just make it so one session needs to end before voting again and stop the same IP voting twice.
72ZHNOAXFHARYSLVWSTSKBSZGU at Yahoo! Answers Visit the source
Other answers
Good day mate. To unblock internet sites and surf anonymously I really propose using http://www.vpnmaster.com
Bok
Related Q & A:
- How To Build Business Directory Using Php Mysql?Best solution by Stack Overflow
- How to prevent an SQL injection in PHP?Best solution by Stack Overflow
- How to store multiple record in Mysql variable?Best solution by Stack Overflow
- how to insert multiple rows from MySQL with checkbox?Best solution by Stack Overflow
- How to implement a voting system?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.