1, local server environment (Wampsever,:http://sw.bos.baidu.com/sw-search-sp/software/9ffb1f800d39c/wampserver_x86_3.0.6.exe for personal use)
2,thinkphp3.2 Development Kit (: http://www.thinkphp.cn/donate/download/id/610.html)
3, will download the good TP package, placed in the server WWW directory (such as).
4, Code Editor (personal use of phpstrom, other editors can also use)
5, Database Construction, table construction (see Code for details).
SET foreign_key_checks = 0;D ROP TABLEIFEXISTS N_user; CREATE TABLE ' N_user ' (' id ' int (One) notNULLAuto_increment,' inputtime ' int (Ten) notNULL DEFAULT' 0 ' COMMENT ' insertion time ',' updatetime ' int (Ten) notNULL DEFAULT' 0 ' COMMENT ' Modified time ',' Display ' tinyint (1) notNULL DEFAULT' 1 ' COMMENT ' content status, 1, Normal,-1, delete ',' name ' varchar (() notNULL DEFAULT' COMMENT ' username ',' pass ' varchar () notNULL DEFAULT' COMMENT ' password ',' Tel ' char () notNULL DEFAULT' COMMENT ' mobile phone number ',' Grade ' tinyint (4)DEFAULT NULL DEFAULT' 0 ' COMMENT ' membership level ',PRIMARYKEY(' id ')) ENGINE= InnoDBDEFAULTCHARSET = UTF8 Row_format = DYNAMIC COMMENT = ' User table '; SET Foreign_key_checks= 1;
Develop member management systems with Thinkphp3.2-preparation