


Summary of discuz directory file information, summary of discuz directory information_PHP tutorial
discuz directory file information summary, discuz directory information summary
The discuz directory information collected somewhere is quite useful for secondary development. Record it. (Based on the standard program of 7.0, some files unrelated to plug-ins are not explained)
File color description:
红色:程序核心文件,修改这类文件时千万要注意安全!
橙色:做插件几乎不会用到的文件,大概了解功能就可以了,其实我也不推荐修改这些文件
绿色:函数Class file,Many powerful custom functions can be used by calling this type of file
Blue:The most standard commonly used files for plug-in productionPurple:The file is ZendEncrypted, please do not modify such files
There is an empty index.htm, in each directory. This is to prevent For directory listing, ignore .
Root directory./ (These are the most basic procedures)
admincp.php——BackendSystemSet the main program file, which generally only handles the access rights for menu display, not ManagementControl.
ajax.php——Forum template’s ajax judgment and data return are all done here
attachment.php - attachment file, only handles the attachment download function.
announcement.php——The display of forum announcements is generally rarely changed
config.inc.php——Configuration forumDatabase, password and other information, everyone is most familiar with this
discuz_version.php——Forum version information is used for updating. Never modify it without official instructions
eccredit.php——Forum product function and credit check processing file
faq.php——Forum’s own help
favicon.ico - The icon displayed in the IE title bar
forumdisplay.php——Very simple, display of forum topic list
index.php——Control the display of homepage elements
invite.php——Forum invitation registration program file
leftmenu.php——Homepage sidebar file
logging.php - log in to the system and determine the user name and password.
magic.php——Forum props program file, handles prop purchase, gifting and other operations
medal.php——Forum medal center program file, handles medal sending and other functions
member.php——Control the display of member list, points strategy and other information
memcp.php——Member Personal Center Display
misc.php——Control the scoring function, forum interface display function, etc.
modcp.php——This is a mini background program operated by the forum moderator
my.php - View everything and your actions in this forum, such as "My posts ", "User group permissions " and so on
plugin.php——Forum plug-in, this mainly controls the display of the menu of the forum plug-in, and is generally rarely modified
pm.php——Forum short message program, control the publishing and browsing of short messages
post.php - is similar to viewthread.php, but it is more about managing post publishing, editing and other information. Permissioned control prompts
redirect.php——Control the access to the last published topic of the forum, and also control the redirection function of the topic
register.php - registration file, and also controls the legality of registered information
relatekw.php——Forum related tag generation
relatethread.php——Forum related topics
robots.txt - Setting the address in can prevent search robots from accessing the corresponding page
rss.php——RSSQuick subscription, no need to say more, right?
search.php - Handles information filtering in the forum search function
seccode.php——Forum registration, program to generate verification code
sitemap.php——ForumSiteMAPFunction Program
space.php——Program for viewing personal information
stats.php——processingThe statistical information in "Statistics" also allows you to view the corresponding statistical data of the forum
tag.php——Forum tag organization page
task.php——Forum task program, the task main program is triggered, and judgments are made here
topic.php—— is generally not accessible directly, controls the page display and displays the number of topics
topicadmin.php—— controls the front-end management operations of managers, such as highlights, pins, highlights, etc.
trade.php - Handles the forum’s trading topic
video.php - handles the video theme of the forum, including display and calling.
viewthread.php - handles the display of post information when browsing posts, such as information, titles, etc., and also handles the permissions to access posts, such as whether the reading permission is sufficient, etc.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

To work with date and time in cakephp4, we are going to make use of the available FrozenTime class.

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

To work on file upload we are going to use the form helper. Here, is an example for file upload.

Validator can be created by adding the following two lines in the controller.

Visual Studio Code, also known as VS Code, is a free source code editor — or integrated development environment (IDE) — available for all major operating systems. With a large collection of extensions for many programming languages, VS Code can be c

CakePHP is an open source MVC framework. It makes developing, deploying and maintaining applications much easier. CakePHP has a number of libraries to reduce the overload of most common tasks.

This tutorial demonstrates how to efficiently process XML documents using PHP. XML (eXtensible Markup Language) is a versatile text-based markup language designed for both human readability and machine parsing. It's commonly used for data storage an
