PHP "personal management system"-password change _ PHP Tutorial

Source: Internet
Author: User
Change the password of PHP personal management system. This section describes the logon function, but does not allow you to change the password. Add the password change function this time. Key points: 1. the Two passwords cannot be blank and must be large. Introduction

Currently, the logon function is available, but the password cannot be changed. Add the password change function this time.

Process

> Key points:

1. the Two passwords cannot be blank and must be greater than or equal to 5 characters;

2. the Two passwords cannot be the same;

3. you must ensure that the old password is correct before modification.

> Front-end js verification:

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

> Backend verification:

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

Login

498) this. width = 498; 'onmousewheel = 'javascript: return big (this) 'alt = "\" src = "http://www.bkjia.com/uploadfile/2013/0904/20130904095448206.png"/> interface after successful logon

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

498) this. width = 498; 'onmousewheel = 'javascript: return big (this) 'alt = "\" src = "http://www.bkjia.com/uploadfile/2013/0904/20130904095448206.png"/> click Change password

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

498) this. width = 498; 'onmousewheel = 'javascript: return big (this) 'alt = "\" src = "http://www.bkjia.com/uploadfile/2013/0904/20130904095448206.png"/> do not input anything, empty submit

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

498) this. width = 498; 'onmousewheel = 'javascript: return big (this) 'alt = "\" src = "http://www.bkjia.com/uploadfile/2013/0904/20130904095448206.png"/> enter less than 5 characters

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

498) this. width = 498; 'onmousewheel = 'javascript: return big (this) 'alt = "\" src = "http://www.bkjia.com/uploadfile/2013/0904/20130904095448206.png"/> incorrect old password

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

498) this. width = 498; 'onmousewheel = 'javascript: return big (this) 'alt = "\" src = "http://www.bkjia.com/uploadfile/2013/0904/20130904095448206.png"/> new and old passwords enter the same

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

498) this. width = 498; 'onmousewheel = 'javascript: return big (this) 'alt = "\" src = "http://www.bkjia.com/uploadfile/2013/0904/20130904095448206.png"/> modified successfully, close the pop-up box

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

Code snippet

JS snippets:

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

PHP snippets:

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

Svn code submission:

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

Summary

Welcome to discuss and study.

Address:

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

This is a detailed technical document:

Token now has the login function, but does not have the password modification function. Add the password change function this time. Key points: 1. the Two passwords cannot be blank and must be large...

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.