PHP personal management system-complete logon module-PHP Tutorial

Source: Internet
Author: User
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 ;...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.