Re: voting script

From: Date: Thu, 03 Aug 2000 18:30:40 +0000
Subject: Re: voting script
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-10000@lists.php.net to get a copy of this message
> The only easy way to eliminate cheating is to log the ip-addresses :( > This will create huge logs (Although I don't consider 15 bytes per users much. > With 100,000 users this will be 1.5 MB, but if you get that many visitors, you > will be able to afford this amount of webspace) It's also only 4 bytes per visitor if you convert the IP address back to a 32-bit integer before storage. Each segment of an IP address is just a single byte expanded to be human-readable (for certain values of human, anyway). Chris

« previous php.general (#10000) next »