|ramxx - Mon Apr 11, 2011 1:13 pm
|Hello, i need help with a code, in return, i can give you a "gift" on paypal. I am not experienced, and i would love all the help possible
I need a login script that will give access timed sessions of 70 seconds.
People will be using "Access Tokens" which they can only be used once.
After the access token code is entered into login page, it will be deleted, and therefore can not be used again.
The access token will give them access to the page for 70 seconds after the 70 seconds, it will log them out of the page by force.
If the user tries to refresh, it will log them out to avoid cheating.
Also if possible, i would like to have an option to expire the codes 30 days from issuing. It can be done in the .txt file, like this: KEY74-E6JIC-8F573-99IZR-W5R0L:30 where 30 = days till expiration/delete. Or it can be a cron job where it checks and when a certain date comes, it deletes the code automatically, so 15/04/11 D/M/Y.
The access tokens can be in a .txt or even in a mysql database, i want easy access to modify them, but i want it also be hard to "hack" So the .txt would only be possible to be accessed by the script.
Lets say i give you access to my page you will receive:
Or something like that...
As soon as the token is used, it should be deleted so its not used again.
Each 1 token will give you access for 70 seconds, then you are forced out of the page.
Thanks in advance!
Any help is highly appreciated.