CodePudding user response:
1, set up a table, save the user login information, fields the user name, password, permission to 1, permissions 2...2, when a user logs in, read in the user name, password, and the user name in the table, whether the password comparison corresponding;
3, the user name, password corresponding correct, read the corresponding permissions,
CodePudding user response:
Get a random number to label or not just a matter of yao in the editCodePudding user response:
You will get better, you draw a diagram also pretty simpleCodePudding user response:
1, set up a number of data (0001-9999) images (with interference stripes);2, is in the login screen, random graph (access), display images;
3, the user input validation, can through consistent, otherwise the prompt reentry, more than N, step,