PHP personal management system-perfect logon module. This article introduces a lot of problems with the personal management system. You are welcome to fix bugs and add functions. Today, I want to complete the logon section. QQ group: 152448006 URL: 498) this. width498;
Introduction
The personal management system has many problems. You are welcome to fix bugs and add functions.
Today, I want to complete the logon section. QQ: 152448006
Address:
498) this. width = 498; 'onmousewheel = 'javascript: return big (this) 'alt = "\" src = "http://www.bkjia.com/uploadfile/2013/0904/20130904095441630.png"/>
Login
The logon process is simple and difficult! But it is not easy to do well.
I have considered two factors:
1. convenience. Users are relatively lazy, so they generally do not like to enter too much content on the logon interface.
2. security: first, we should prevent dos attacks. many people think of verification codes, and so do I. So I will verify your verification code in the background only when I log on to the system for the fourth time.
The verification code still needs to pass through your entire php application. I personally suggest you block this attack IP address before the php application layer. But I don't have such good hardware conditions, so I just made a simple application (in the database, I still need to go through php applications ), wait for the conditions to be placed directly on other applications (such as memcached) in the future ).
Logon process
1. open the page:
498) this. width = 498; 'onmousewheel = 'javascript: return big (this) 'alt = "\" src = "http://www.bkjia.com/uploadfile/2013/0904/20130904095441688.png"/>
1) if the user has logged on more than three times, the verification code is displayed when the page is opened.
2) if it exceeds 6 times, block the Internet IP address directly.
2. logon operations
498) this. width = 498; 'onmousewheel = 'javascript: return big (this) 'alt = "\" src = "http://www.bkjia.com/uploadfile/2013/0904/20130904095441120.png"/>
1) block the IP address. we can determine whether the IP address has been logged on more than 6 times.
2) when verifying an account, we determine whether to verify the verification code based on the number of verifications.
Thanks
The personal management system has many problems. You are welcome to fix bugs and add functions. Today, I want to complete the logon section. QQ group: 152448006 address: 498) this. width = 498 ;...