June 10th, 2000, 11:52 PM
I'm looking for a good poll script or java applet. I've tried two so far and with a high volume poll they have a tendacy to wack out when multiple users are submitting their poll. What I mean is that the poll will have 120 votes and then the poll will suddenly be back to 1 vote. This has happened with two different scripts and is very embarrassing. I need a better script. Someone please point me in the right direction.
June 11th, 2000, 04:11 AM
Please go to http://www.scriptsearch.com/ and search for another one.
>>have a tendacy to wack out when multiple users are submitting their poll.
If this was your major concern, you should consider adding file locking if your script doesn't already have one.
flock (LOG, 2);
print LOG "$voten";
flock (LOG, 8);
the "2" - Exclusive
the "8" - Unlock (normally this can be left out)