How to realize the method of question and answer Verification for Imperial CMS member Registration
Editor to share with you how to achieve Imperial CMS member registration to join the question and answer verification method, I hope you will learn a lot after reading this article, let's discuss it together!
Modify file: e/enews/index.php
The code is as follows:
/ / sign up for elseif ($enews== "register") {if ($_ POST ['ask'] = =' Imperial Software') / / this is the key! {$username=$_POST ['username']; $password=$_POST [' password']; $repassword=$_POST ['repassword']; $email=$_POST [' email']; register ($username,$password,$repassword,$email);} else {printerror ("EmptyMemberask", "history.go (- 1)", 1);}}
And then on / e/member/register/register.php
Add the following code:
The code is as follows:
Answer to the question: what are the Chinese characters in logo on the home page of www.phome.net? Answer: Imperial Software * after reading this article, I believe you have a certain understanding of how to achieve Imperial CMS member registration to join the question and answer verification method. I want to know more about it. Welcome to follow the industry information channel. Thank you for your reading!