INC files exist as 2 different types. Please find information about each of them below.
Type 1: Include File
The extension .inc means a file is designed to be included by PHP files. It has no special meaning, just convention. Files with .inc extension have a disadvantage - servers don't parse them as PHP by ...
The extension .inc means a file is designed to be included by PHP files. It has no special meaning, just convention. Files with .inc extension have a disadvantage – servers don’t parse them as PHP by default. So if a .inc file is in a web root, users could view the PHP source code by visiting the URL.
Total Commander’s settings are saved to two INC files – totalcmd.inc and wcmicons.inc. Totalcmd.inc stores configuration settings. Wcmicons.inc stores toolbar icon settings. INC files are not meant to be opened. To adjust settings, open Total Commander and go to Configuration > Options.
INC files can include: class variables for Object Oriented Programming, accessible across implementation files; method declarations, to be accessible across files; and non-inline function definitions.
If a PHP file references a .inc file and the server doesn’t parse .inc files, users can view the php source code by visiting the URL.
INC is the extension of “include” files with reusable declarations for programming languages. IDEs and editors can create and edit INC header files. SPICE and PSpice circuit simulation programs use INC files to store headers for modeling scripts. Windows Backup & Restore saves incremental backups as INC files. You need suitable software like Sublime Text to open an INC file.