Home > Backend Development > PHP Tutorial > DZ Forum core code analysis plan - core file common.inc.php_PHP tutorial

DZ Forum core code analysis plan - core file common.inc.php_PHP tutorial

WBOY
Release: 2016-07-21 14:56:56
Original
1050 people have browsed it

Previous article: DZ Forum core code analysis - core file global.func.php

This file is the core brain-level file of DZ.
In actual analysis, there is not much content. Most of them are conditional judgments and command statements. Introducing a large number of files.
Understanding this file can better understand how the entire DZ forum operates. This file is introduced on almost every page.
To be honest, the farther back I look, the bigger my head gets. . . A large number of multi-layer 3D conditional judgments. . Hehe, I don’t know if I’m right, it’s this type. Some are inlaid with as many as 4 layers. Feeling dizzy. But it's mostly done.
The most worth learning about this document is its emphasis on and handling of security. .
Upload the file with the comments first
The other files will be sorted and sent up later. But this is enough to explain a lot of things.
I hope you experts can point out any mistakes in writing.

Originally, I planned to finish this part and then post it in an update. but. . . In the afternoon, I was confused when analyzing the code of DZ's caching mechanism. Just go get SVN. SVN downloads are now available.
Why is this floor updated but not downloaded? It's because this part hasn't been completed yet. There are 3 files analyzed today in SVN for reference

文件名 文件位置 文件作用 分析开始时间 分析结束时间
discuz_version.php Root Directory Copyright Document October 3, 2008 18:03:43 October 3, 2008 18:03:43
db_mysql.class.php include Database link October 3, 2008 18:06:25 October 4, 2008 10:12:28
install.func.php install Function file of the installer October 4, 2008 10:36:44 October 4, 2008 14:02:12
install.config.php install Initial configuration of database October 4, 2008 14:22:19 October 4, 2008 14:22:21
global.func.php include Global function definition October 5, 2008 15:05:13 October 6, 2008 16:40:45
messages.lang.php templatesdefault Array file to store prompt information
seccode.lang.php templatesdefault Store random Chinese string file
pms.lang.php templatesdefault SMS language file
security.inc.php include Provide security protection according to the security level October 8, 2008 11:01:46 October 8, 2008 12:02:05
cache_settings.php /forumdata/cache/ Storage cached setting variables
serverbusy.html include Server Busy Page File
counter.inc.php include Platform counter file October 8, 2008 12:07:21 October 8, 2008 13:27:26
cache.func.php include Cache related functions October 8, 2008 13:34:19


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/364091.htmlTechArticlePrevious article: DZ Forum Core Code Analysis - Core File global.func.php This file is the core of DZ Brain level files. When truly analyzed, there is actually not much content. Most of them are conditional judgments...
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