Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
ISP-sensitive voting form
Old 10-18-2005, 07:10 PM ISP-sensitive voting form
Skilled Talker

Posts: 62
Trades: 0
Hello,

I am setting up a page on my site where visitors vote for their favourite photo.

I want to limit each visitor to only one vote.

Is it possible to track their ISP identification and then block it from the form entry field once they have voted?

If not, are there any other ways of only allowing one vote per visitor?

BTW: I already put in a script to block multiple form submissions, but that isn't quite the same thing.

Thanks,

Neil
neila is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-18-2005, 07:37 PM
Skilled Talker

Posts: 62
Trades: 0
And I just tried adding this script: onSubmit="submitonce(this)"

which works during the same session (before reloading the page), but it cancels out another function (the required fields).

Any other suggestions are more than welcome.

Thanks,

Neil
neila is offline
Reply With Quote
View Public Profile
 
Old 10-19-2005, 01:15 AM
funkdaddu's Avatar
Web Design Snob

Posts: 635
Trades: 0
you would need to use cookies, but that can still be bypassed by deleting your cookies. The other easy way would be to use a script that limits based on IP, but would would need to use a server side script, not JS.

How is this "vote" being stored?
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Old 10-19-2005, 07:20 AM
Skilled Talker

Posts: 62
Trades: 0
Thanks for the info. IP is what I meant, not ISP by the way!

The votes will be sent to my email address by a form. It's real simple. My site is small and simple.

PHP is not my thing. It was hard enough doing the email php for the form.

Could you give me an idea of how complicated it would be in PHP?

Thanks again,

Neil
neila is offline
Reply With Quote
View Public Profile
 
Old 10-19-2005, 09:48 AM
funkdaddu's Avatar
Web Design Snob

Posts: 635
Trades: 0
Here is a script that will doe what you want:
http://www.stadtaus.com/en/php_scripts/voting_script/
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Reply     « Reply to ISP-sensitive voting form
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.77207 seconds with 12 queries