User Password Change Part 2 - English
PHP and MySQL Tutorials - English 25
-
1Simple Visitor Counter
-
2PHP String Functions Part 1
-
3PHP String Functions Part 2
-
4File Upload Part 1
-
5File Upload Part 2
-
6Cookies Part 1
-
7Cookies Part 2
-
8Sessions
-
9MD5 Encryption
-
10Sending Email Part 1
-
11Sending Email Part 2
-
12Sending Email Part 3
-
13Display Images from a Directory
-
14User Login Part 1
-
15User Login Part 2
-
16User Login Part 3
-
17User Password Change Part 1
-
User Password Change Part 2
-
19User Password Change Part 3
-
20User Registration Part 1
-
21User Registration Part 2
-
22User Registration Part 3
-
23User Registration Part 4
-
24User Registration Part 5
-
25User Registration Part 6
Outline:
User Password Change Part 2 Checking whether encrypted old password matches with the database password and new password is same as confirm password. md5("parameter")- encrypts parameter into irreversible logical code. mysql_connect("hostname", "username", "password") - Connect to the Database Server with the authorized user and password. mysql_select_db("database_name") - This selects a database within a connected database server mysql_query('TYPE_HERE_YOUR_MYSQL_QUERY') - It is used to run specific queries on our database.Here it retrieves password of user logged in.
Assignment
Status: