This article is the second article of the PHP + jQuery registration module price change, mainly to continue to improve the mailbox activation account functions, very detailed, if you have any need, you can refer to "one of the improvements to the PHP + jQuery registration module" to continue modification:
① Return to the logon email page (maillogin. php) after successful registration. On the page, you can click the link to go To the logon page of your registered email address and send the activation link again;
② Set the validity period for the activation link. After the validity period expires, click "Activate connection" to go to the page and ask the user to choose to send the email again or return to the registration page. After sending the email again, click "Activate link" in the email box;
③ Click "resend" to activate the connection. The page is not displayed. A notification is displayed on the current page without refreshing the link. The notification disappears several seconds later;
④ Click Change email to jump to the registration page
1. Click the email link to go to the corresponding email login page.
Ideas:
In maillogin. set the list of frequently used email addresses in js (or in php). When the registered email address matches the email address in the list, the button "log on to the verified email address now" is displayed ", click to jump to the login homepage of the mailbox. If the user-registered mailbox does not exist in the list, the login button is not displayed.
When a registered email address exists in the mailbox list:
When the registered email address does not exist in the mailbox list:
When the passed parameter is not a valid email address, a parameter error is prompted:
Maillogin. php:
Registration page