in reply to RE: Quick and easy way to prevent multiple votes?
in thread Quick and easy way to prevent multiple votes?

Yeah, there are simpler ways to keep a list of IPs. As the list grows, time to check them increases tremendously.

If you really must do it this way, use a database. Even something simple like DBD::CSV would help immensely.

Specific things in your code that I'd do differently are:

But tracking IP addresses really isn't the way to go here, as merlyn and others have pointed out.
  • Comment on RE: RE: Quick and easy way to prevent multiple votes?