Perl

Moderators: Jonathan
Number of threads: 1259
Number of posts: 3644

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
Need help in getting ips Posted by David Crockett on 23 Jul 2000 at 1:11 PM
Ok how can I get the ip address of a user once he votes so that he can't vote more than once


Edit Report
Re: Need help in getting ips Posted by J. Worthington on 27 Jul 2000 at 11:17 AM
Hi!<br>
<br>
You do something like this:<br>
<br>
$ip_address = $ENV{'REMOTE_ADDR'};<br>
<br>
Hope this helps!


Edit Report
Re: Need help in getting ips Posted by Unknown on 13 Aug 2000 at 10:57 AM
: Ok how can I get the ip address of a user once he votes so that he can't vote more than once<br>
: <br>
<br>
If the user has a dynamically assigned IP address,<br>
it changes each time he logs on to his ISP.<br>
<br>
Even if you give him a cookie, he could delete it, <br>
and then vote again. <br>
<br>
You could email him a "voter registration number", <br>
and validate the number before allowing the vote.<br>
<br>
Of course, if he had more than one email address, <br>
that wouldn't work either.<br>
<br>
Maybe you could have him pee in a cup, <br>
and then run a DNA test?





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.