Using php to generate an image
Author |
Message |
Tony
|
Posted: Sun Mar 06, 2011 7:52 pm Post subject: RE:Using php to generate an image |
|
|
Are you asking if I can write a script where I _don't_ keep track of your cookies? Yes. In fact, that's less work than having to keep track of your cookies. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
Sponsor Sponsor
|
|
|
ProgrammingFun
|
Posted: Sun Mar 06, 2011 8:23 pm Post subject: RE:Using php to generate an image |
|
|
Fail...so what do I do now?
Or should I just hope that noone will think of hacking it in such a way? |
|
|
|
|
|
Amailer
|
Posted: Sun Mar 06, 2011 9:10 pm Post subject: RE:Using php to generate an image |
|
|
Why aren't you using the forum's login system as suggested, it will solve most of the issues (except people making multiple accounts to vote...).
http://www.phpbb.com/community/viewtopic.php?f=64&t=709765#p4101675
A quick way would be to implement the login, force the user to login in order to vote and then when said user has voted, write their username to a file.
This way if they attempt to vote again, check to see if its in the file.
Or, simply make a "hasVoted" column in the user table and set it to 1 if they have voted. |
|
|
|
|
|
ProgrammingFun
|
Posted: Sun Mar 06, 2011 9:18 pm Post subject: RE:Using php to generate an image |
|
|
Thanks for the help....I'll try to implement that. |
|
|
|
|
|
|
|