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.