[End] php + MySQL actual cases [nine] summarize and share source code

​PHP+MySQL

Integrated Case Studies

Summary and source code sharing

Case function

1. The user logs

Unified login page, the system automatically determine the identity at login, jump to user management background when administrative login, jump to the ordinary user welcome page when a user logs on.

system login:

Home administrator:

Ordinary home users:


2. User Registration

Fill critical information to register.

3. general user function

In ordinary home users, you can maintain self information.

4. Administrator functions

4.1 a list of users (data page)

4.2 new users

4.3 modify user information

4.4 Delete User Information

The user logs off

Log out, return to the login page.

Technical Points

01 separate front and rear end

02ajax request

Page 03 data processing

06 Data CRUD

 

1

System operating environment Description

PHP+Mysql

 

2

Source Share

git:

https://gitee.com/soulsjie/php_mysql_comprehensive_case_i.git

zip Download:

https://gitee.com/soulsjie/php_mysql_comprehensive_case_i/repository/archive/master.zip

Note: You need to be logged when the zip code cloud gitee download, address the need to open a browser on the PC side.

 

3

Item Description File

    Project has two folders

1 source code (file folder requires the full copied to the website www directory).

Database 2 (demo1 need for new files into a database and sql, sql does not import the file may be at the command prompt mysql demo1 new database, file content and copy and paste sql to execute).

 

4

Configuration instructions

    Because each computer MySQL database configuration is not the same as the corresponding information in the database / username / password, etc. need to modify the database configuration file, the file location:

\com\DBHelper.php

 

 

 

 Micro-channel public number synchronized.

Guess you like

Origin www.cnblogs.com/soulsjie/p/12666898.html