Supesite 7.5 basic file description

Source: Internet
Author: User

1. Common. php

2. Common. func. php

 

-------------------------------------------------------------------------

1. Common. php public operations (a bit detour, that is, the operations that almost everyone on each page needs to perform)

(1). Define the root directory, version, Release number, and debugging Switch

(2 ). introduce the configuration file, public function file, and system configuration cache file. convert the data in the configuration file to a variable. convert $ _ Get, $ _ post, and $ _ cookies by magic.

(3). Get the IP address of the current browser, http_user_agent. Generate authkey.

(4). If the Language Pack is not added, load the default Language Pack "Language/Main. Lang. php ".

(5). Open the database connection.

(6). Read cookie

(7). Obtain channel information

(8). Execute the scheduled task.

2. function/common. func. php Public Function

3. Class/db_mysql.class.php data operation class

4. Class/tree. Class. php generates a tree data structure

5. function/html. func. php is used to call functions for HTML display in the background.

6. function/Misc. func. php hybrid function set (IP address conversion now)

7. function/sendmail. Fun. php mail sending Function

8. funciton/template. func. php template function (replace)

9. function/upload. func. PHP Upload related function sets (local or remote upload, generating thumbnails, adding watermarks)

10. Include/zip.lib.zip compression class library

11. The Language Pack in the language folder can also be added selectively.

12. Source/do_seccode.php Verification Code Image Generation

13. The uc_client folder is required for communication with ucenter.

14. config. PHP configuration information

15. admincp. php, CP. php, do. php, and M. php are commonly used access entry files.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.