Home > Backend Development > PHP Tutorial > 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
Release: 2016-07-25 09:13:33
Original
1318 people have browsed it
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


source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template