Briefly describe the functions and files related to the registration user addition operation
uc_client\model\user.php file
Example: add_user() function: Execute the addition of users, seal a series of functional functions (perform the insert function, detect the submission value of the form.....) line 130;
uc_clinet\ control\user.php
Perform registration, login, login, etc., such as: onregister(), etc. and the user's information operation behavior line 60;
tabel_common_member.php
Perform database insertion operations for user tables and related supplementary tables (personal understanding), such as points tables, user information tables, etc
Personally common_member this table is a partner table of UCenter_member, but the passwords in the two tables do not intersect, the password of ucenter_member in the insertion operation is a randomly generated salt value plus the user's input password double MD5 encryption, common_member the password in the table is a random() encapsulated by discuz itself. The function is 10 digits, again MD5
admincp_members.php
There is an operation to add users around line 700, and a few files are also extracted from this operation backwards
|