#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    1
    Rep Power
    0
    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.

    Don

  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    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.

    Example:

    open(LOG,">>$poll_file");
    flock (LOG, 2);
    print LOG "$voten";
    flock (LOG, 8);
    close(LOG);

    hint:
    the "2" - Exclusive
    the "8" - Unlock (normally this can be left out)

IMN logo majestic logo threadwatch logo seochat tools logo