Home  >  Article  >  Backend Development  >  Set up a solution to send the registration link via email. After clicking the verification link in the email, you still return to the email address interface.

Set up a solution to send the registration link via email. After clicking the verification link in the email, you still return to the email address interface.

WBOY
WBOYOriginal
2016-07-25 09:13:331265browse
After testing, some email link registrations failed to parse. The solution is as follows:

Modify the file sourceclassclass_member.php
Find in this file
  1. $_GET['hash'] = preg_replace("/[^[A-Za-z0-9_]%]/", '', $_GET['hash']);
Copy the code
and replace it with
  1. $_GET['hash'] = preg_replace("/[^[A-Za-z0-9_]%s+-/=]/", '', $_GET[ 'hash']);
Copy code
Email


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn