PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Have a login class, within that class, every successful login, put it in a file [or db] every failed attempt, have it logged as well [maybe with an ip address] for blocking purposes.