After logging in, you are required to verify the mobile phone number and ID card number before you can operate the other parts.

1. Question:

  • after logging in, you are required to verify your mobile phone number and ID number before you can operate other parts
  • 1 complete the verification of mobile phone number first
  • 2 and then fill in the ID card number

because the two are on different pages, I want to learn the way to implement them.

2. The solution you can think of:
set a separate check field in the user"s table, status 0 incomplete mobile phone authentication status 1 is incomplete authentication status 9 is all OK, and then check the user status, where 0 is detected and jumps to the verification mobile phone page.

3. A solution for a better solution:

Php
May.22,2021

after logging in, read the user information directly and write it to the session, page to determine whether the mobile phone number and ID card number fields in the user information are complete. There is no need to add check

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea8df8-47cf1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea8df8-47cf1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?