ini is the abbreviation of Initialization File, which means "configuration file; initialization file;" and is the suffix name of the initialization setting file; the ini file is the storage format used by the system configuration files of Windows and manages all aspects of Windows. item configuration.
1: What does ini mean?
ini is the suffix name of the initialization setting file, and the ini file is the Initialization File The abbreviation of is the storage format used by Windows system configuration files. It manages various configurations of Windows. Generally, users can use the various graphical management interfaces provided by Windows to achieve the same configuration. [Recommended tutorial: Website host video tutorial]
2: File extension
configuration file. ini
Please note: What we are discussing is the configuration file in the project, which is common to the entire project. So it needs to have a file name used by the project, and its suffix is. ini. For example: port configuration. ini
3: Format
The INI file consists of sections, keys, and values.
section[section]
Parameter (key=value) name=value
Annotation Use a semicolon (;). The text after the semicolon until the end of the line is a comment.
Four: Case
; exp ini file [port] portname=COM4 port=4
Five: Function
.ini## Files such as #,
.inc usually put some constants or database link statements, etc., and then include them in the required pages. There is no difference from directly naming them as asp. But for the sake of security, it is best not to use these suffixes, because when you know the file name, you can see all the contents when you enter the address of the file in the browser.
The above is the detailed content of What does ini mean? What is the ini file format?. For more information, please follow other related articles on the PHP Chinese website!