Posts: 23
Threads: 3
Joined: Oct 2009
Reputation:
0
So my question (bare with it please, It may sound weird at first, but when I get the site launched it will make sense)....So I have an IQ test at the beginning of my site, and I want to make it so that if you pass the IQ test, your IP is set into the database so that you have access to the site all the time, and when you click "enter the site" at the home page it skips the IQ part and goes directly to the main page. Is there a way to code it so that it can do this, and will permanently ban anyone who fails the IQ test?
I know this sounds really weird at the moment, but this will make sense when the site is launched.
Also, will it be coded in PHP, Java....Please help....
Thanks
Posts: 151
Threads: 6
Joined: Oct 2009
Reputation:
2
I see a huge problem. Considering most people now have dynamic IPs it won't work. Why not instead allow them to register after passing the IQ test?
Also with proxies being as popular as they are now a days it's not good to use IPs for another reason.
Posts: 23
Threads: 3
Joined: Oct 2009
Reputation:
0
That's a good point, allow them to register to the site, and make it you can't access any pages unless they are logged in...gahh this is going to take longer than I planned lol
Posts: 1,351
Threads: 111
Joined: Oct 2009
Reputation:
40
Yes there is a way but I wouldn't recommend doing it with the IP since it can change.
Better way would be to send email with random password to the user who passed the test and save the same password into the database.
Skiping the test once passed can be done with cookies if the cookie was deleted you ask the user for a password again, if he doesn't know a password he should do the test
Posts: 23
Threads: 3
Joined: Oct 2009
Reputation:
0
What programming languages do I have to know for this, NinjaGeek?
Posts: 151
Threads: 6
Joined: Oct 2009
Reputation:
2
I was originally going to suggest cookies but then your limited to the browser and computer. You can of course transport the cookie with you but it's a pain.