This requires that you edit the script itself
# Full Unix Path to directory where the data files will be stored (not # web accessible == better) # # $data_dir = '/home/YOUR_USERNAME/poll_data'; # Absolute URL to grab images from (leave blank for root web '/') # # $image_url = '/images'; # Absolute URL to grab CSS files from (leave blank for root web '/') # # $css_dir = ''; # List of referers that are allowed to post to polls # # @referers = ( "yourdomain.com", "www.yourdomain.com", "your.other.com", "your.other.other.com" ); # When the browser blocks the referer, do we want to allow a vote? # 1=yes 0=no # $allow_empty_ref = 0; # If set to 1, this value will disallow the creation of a new poll unless # a file named "create.allow" is placed into $data_dir. This file should # be created/uploaded whenever a new poll needs to be made. It will # automatically be removed upon creation of the poll. # secure = 1, not = 0 # $more_secure = 1;
If $more_secure is set to 1 (one), then a poll cannot be created unless you first click the Allow in the Poll Manager. Once a vote is posted to the poll, you will again be unable to create a new poll until the above step is repeated. This redundancy prevents malicious users from creating an unlimited number of polls. There are some other checks for naughty people of this type, but all of these can be bypassed rather easily.