search
HomeCMS TutorialEmpire CMSHow to register as an Imperial CMS member and join the Q&A verification

How to register as an Imperial CMS member and join the Q&A verification

The example in this article describes the method of registering as an Imperial CMS member to join the Q&A verification. Share it with everyone for your reference. The specific implementation method is as follows:

Modify the file: e/enews/index.php

The code is as follows:

//注册
elseif($enews=="register")
{
if($_POST['ask']=='帝国软件')//这句是关键!!
{
$username=$_POST['username'];
$password=$_POST['password'];
$repassword=$_POST['repassword'];
$email=$_POST['email'];
register($username,$password,$repassword,$email);
}
else
{
printerror("EmptyMemberask","history.go(-1)",1);
}
}

It is recommended to study "Empire cms tutorial"

Then add the following code to /e/member/register/register.php

The code is as follows:

<tr>
<td height="25" bgcolor="#FFFFFF"> <div align=&#39;left&#39;>问题答案:</div></td>
<td height="25" bgcolor="#FFFFFF"> 请问www.phome.net首页logo中的汉字是?答案:帝国软件
<input name=&#39;ask&#39; type=&#39;text&#39; id=&#39;ask&#39; maxlength=&#39;50&#39;>
*</td>
</tr>

Hope this article will help Everyone’s Empire CMS website building helps.

The above is the detailed content of How to register as an Imperial CMS member and join the Q&A verification. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:www.word666.com. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!