I often see examples in PHP that include.inc files. What is the meaning of .inc? What it is used for? What are the disadvantages and advantages of using it?
Note that You can configure Apache so that all files With .inc extension are forbidden to be retrieved by visiting URL directly.
.inc
see link:https://serverfault.com/questions/22577/how-to-deny-the-web-access-to-some-files