|Join Nairaland / LOGIN! / Trending / Recent / New|
Stats: 2,512,154 members, 5,728,507 topics. Date: Wednesday, 15 July 2020 at 11:33 AM
|Login Expiration by sixbon2000(m): 10:58pm On Jul 02, 2008|
Hi guys,pls can anyone tell me or send me a script on how to make a username of pin expire afre a certain number of logins just like the way most online sites that make use of scratch cards do it using php and mysql.
|Re: Login Expiration by javaprince(m): 11:06pm On Jul 02, 2008|
To do that, create a Table storing all PINS and their respective number of logins - this should be initially set to Zero. Next thing to do, is to write a code such that everytime a PIN is used to log in, u Update the Login-Numbers in the database. When the maximum Login has been used, U deny the user access to Login.
I don't have time to write PHP script right noe, but if u are a PHP programmer, u shld be able to write the script based on the steps i gave above.
|Re: Login Expiration by sixbon2000(m): 10:20am On Jul 08, 2008|
Thanks a lot javaprince,i just needed a headstart,i think i can manage on my own now ,thans again
|Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health |
religion celebs tv-movies music-radio literature webmasters programming techmarket
Nairaland - Copyright © 2005 - 2020 Oluwaseun Osewa. All rights reserved. See How To Advertise. 15