•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 391,771 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,257 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 159 | Replies: 2
![]() |
•
•
Join Date: Nov 2007
Location: Anacortes, WA (Hamburg, Germany)
Posts: 39
Reputation:
Rep Power: 1
Solved Threads: 0
Hello all,
I am wanting to know if it is possible to program a log-in page with php that will limit the amount of attempted logins, and then after a specific amount of wrong tries (say 10 for example) that person will be blocked for several hours.
I am no programmer, but I have been asked by a couple of my colleges to find out how someone would go about developing this. Please give my and ideas or suggestions that you might have over this. Thanks a lot for the help.
Geo
I am wanting to know if it is possible to program a log-in page with php that will limit the amount of attempted logins, and then after a specific amount of wrong tries (say 10 for example) that person will be blocked for several hours.
I am no programmer, but I have been asked by a couple of my colleges to find out how someone would go about developing this. Please give my and ideas or suggestions that you might have over this. Thanks a lot for the help.
Geo
Computers are like air conditioners. Both stop working, if you open windows.
•
•
Join Date: Aug 2005
Location: Cologne, Germany
Posts: 99
Reputation:
Rep Power: 4
Solved Threads: 8
of course you can.
you write a normal login-script and if the password is incorrect you just save a timestamp and a variable in you DB or textfile that you increment each time a wrong login is done.
Having more than 10 incorrect login attempts, you disable the account (again a new variable). The next login you check the time and if the last login is more than 5hrs ago, you enable the account again.
you write a normal login-script and if the password is incorrect you just save a timestamp and a variable in you DB or textfile that you increment each time a wrong login is done.
Having more than 10 incorrect login attempts, you disable the account (again a new variable). The next login you check the time and if the last login is more than 5hrs ago, you enable the account again.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
advertising ajax asp beta blogging browser business code development echo exploit firefox google hardware html ibm intel internet linux marketing memory microsoft mobile mozilla news open source programming red hat revenue rss science search security software sun technology testing ubuntu video vista w3c web web development webmaster wiki windows x86 xml yahoo youtube
- This Should be Easy for You Guys! (Linux Servers and Apache)
- Still looking for help: VX2 or something like it... (Viruses, Spyware and other Nasties)
Other Threads in the PHP Forum
- Previous Thread: I can i build a customiseable form for internet user?
- Next Thread: PHP Variable in mySQL query


Linear Mode