PHP + jQuery registration module improvement (2): Mailbox activation page 1/2 _ php instance

Source: Internet
Author: User
Tags valid email address
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
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.