Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6796367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:27:33+00:00 2026-05-26T18:27:33+00:00

I have setup a polling system, where when you vote it stores your external

  • 0

I have setup a polling system, where when you vote it stores your external IP using:

$_SERVER['REMOTE_ADDR'];

It stores this in a database called IPlist.
It also sets a cookie.
In the polling page if the cookie is set or the number of mysql_num_rows is greater than 1 it disables the radio boxes.
This is to prevent re-voting.

However some computers have the same external IPs. These can be hundreds at one time like at my school. If I vote on one computer nobody can vote at my school again.

Is there any way to get around this. For example to find the number of computers in the network then change mysql_num_rows. Or to find a unique Constant variable on every computer to store in a database.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:27:33+00:00Added an answer on May 26, 2026 at 6:27 pm

    There’s no way at all to know in advance how many devices are behind a given IP address… in fact, things are much worse than you think for AOL users (there can be tens of thousands of computers behind a given IP address (AOL Proxy).

    If you’re not too worried about securing the result you can drop a cookie. Otherwise, as one of the commenter suggests, a login system is a good, standard approach.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have setup multiple SQL Service Broker Queues in a database but have not
I have setup my windows in a certain way. How do I save this
I'm using django's built-in contrib.auth module and have setup a foreign key relationship to
I have set up a polling system on my website. However to ensure that
I have a setup where I am using amcharts that is feed data via
I have a project that I've been working on called system that I set
i have a simple setup, with php pulling html content from a database. if
I have an SQL Server 2008 Database and am using C# 4.0 with Linq
I am using Spring MVC to develop a Java webapp. I have a setup
I have a system set up currently that is using celery with a redis

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.