Improvement of Php+jquery Registration Module (II): Mailbox activation 1th/2 page _php instance

Source: Internet
Author: User
Tags button type

Next, one of the improvements in the Php+jquery registration module continues to be modified:

① after successful registration return to the Login Mail page (maillogin.php), in the page users can click the link to jump to their own registered mailbox login page, you can send the activation link again;

② to activate the link to set the validity period, after the expiration date click to activate the connection, will jump the page lets the user choose to send the mail again or returns the registration page, after sends the mail, enters the mailbox to click the link to activate;

③ Click Resend Activation Connection, do not jump page, no refresh pop-up notification on current page: The link has been resend, a few seconds after the notice disappears;

④ Click to replace the Inbox and jump to the registration page

1. Click the email link to jump to the corresponding mailbox login interface

Ideas:

Set up a list of commonly used mailing addresses in Maillogin.js (also available in PHP). When the user's registered mailbox and the mailbox in the list match, the button "sign in now verify Mailbox" is displayed, click to jump to the landing page of the mailbox; If the user's registered mailbox does not exist in the list, The login button is not displayed.

As shown in the figure, when a registered mailbox exists in the list of mailboxes:

When registering mailboxes does not exist in the list of mailboxes:

Prompt for parameter error when passed parameter is not a valid mailbox:

maillogin.php:

<! DOCTYPE html>  

Maillogin.js:

Current 1/2 page 12 Next read the full text

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.