1. First say registration
A. Ready to register the page, register.html, of course, usually have, name, email, address and other commonly used.
B. " Do not trust the user to submit all the data ", security, security is the first place. So to make a judgment, the client should make the basic judgment, in order to prevent
It is also necessary to judge the logic code of the server by the malicious behavior of others. Double-decker insurance.
C. Of course, the customer registration information is to enter the database, how to set up a scientific database, it is necessary to study
2. Login
A. Prepare the login page, login.html
B. Even if the customer has already registered, to judge the login information, filtering, verification is necessary, all for security
3. Safe exit
A. Exit, not only to exit the system itself, but also to destroy some information, such as Session,cookie carrying data information.
thinkphp Project Note Login, registration, security exit