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