PHP "Personal Management System" perfect login Module _php Tutorial

Source: Internet
Author: User
Introduction

Personal Management System Now there are a lot of problems, welcome to fix bugs and add features.

Today I will refine the login section. QQ Group: 152448006

Address:

498) this.width=498; ' OnMouseWheel = ' javascript:return big (This) ' alt= ' \ ' src= ' http://www.bkjia.com/uploadfile/2013/ 0904/20130904095441630.png "/>

Login

The sign-in section says simple is also simple, said difficult also difficult! But it's not easy to do well.

I have considered two factors:

1, convenience. Users are lazy, so it is generally less like to enter too much content of the login interface.

2, security: First to prevent Dos attacks, many people think of is the verification code, I also. So I will check your verification code in the background at the fourth login error.

Verification code check or to go through your entire PHP application, I personally recommend the PHP application layer before the attack IP is sealed off. But I do not have such a good hardware condition, so I just made a simple application (in the database, or to go through the PHP application), waiting for future conditions to be placed directly on other applications (such as memcached).

Login 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 in more than three times, the verification code will be displayed when the page is opened.

2) if more than 6 times, then directly block out the network IP.

2. Login operation

498) this.width=498; ' OnMouseWheel = ' javascript:return big (This) ' alt= ' \ ' src= ' http://www.bkjia.com/uploadfile/2013/ 0904/20130904095441120.png "/>

1) block the IP, we determine whether the IP login more than 6 times.

2) When verifying the account number, we determine whether the verification code is judged based on the verification count.

Thank

http://www.bkjia.com/PHPjc/445656.html www.bkjia.com true http://www.bkjia.com/PHPjc/445656.html techarticle Introduction Personal Management system Now there are a lot of problems, welcome to fix bugs and add features. Today I will refine the login 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.