Inc file
[What's inc file]
The. inc file, as its name implies, means include file.
In fact, the file suffix does not matter for file inclusion.
You can include an ASP file or a TXT file.Generally, we use Inc as the suffix because it canThe
"What ' s Inc file"The. inc file is meant to include file as its name implies. In fact, the file's suffix is irrelevant to the file, you can include an ASP file, or you can include a txt text. We typically use Inc. as a suffix because it reflects
Benefits of INC:
1. LongProgramSegmentation
2. The original file method can still be used in Inc, especially viewdata can be used to retrieve data in MVC. We recommend that you split the file when some functions are completed to streamline the
PHP include and require reprinted from: http://blog.sina.com.cn/s/blog_5d2673da0100cp6o.html? Include and require in different PHP versions of require (), include (), require_once () and include_once ()
Reprinted from:
There are two files a.htm and b.htm, under the same folder a.htm content such as the following -B.htm content such as the followingToday: Rain 31℃~26℃ Tomorrow: Thunderstorm 33℃~27℃Open a directly in the browser, no matter what the display, and
One of the most common PHP problems mentioned during the interview, I would like to share with you the many similarities and differences between require () and include. Understanding their differences is very important, otherwise it is easy to make
There are two files a.htm and b.htm, under the same folder a.htm content such as the following -B.htm content such as the followingToday: Rain 31℃~26℃ Tomorrow: Thunderstorm 33℃~27℃Open a directly in the browser, no matter what the display, and
Similarities and differences between require (), include (), require_once () and include_once. Require () and include () have many similarities and differences. Understanding their differences is very important, otherwise it is easy to make mistakes.
Require (), include (), require_once () and include_once () have many similarities and differences between require () and include. Understanding their differences is very important, otherwise it is easy to make mistakes.
I will describe these two
: This article mainly introduces the differences between require, include, require_once and include_once. For more information about PHP tutorials, see. 1. require () statement
The require () statement is used to replace the specified file with the
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.