About the Inc file explanation

Source: Internet
Author: User
Tags include
  "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 the role of the file.

  "Why Inc File"
The. inc file has a somewhat similar effect to the C + +. H. HPP header files, using the Inc file can make our program, add
Readability, easier to develop and maintain.

  "How to Inc File"
The #include,asp include file in the SSI (Server Side include) directive is written in this way: in HTML, write:
<!--#include file = "FileName"-->
<!--#include Virtual = "FileName"-->
The difference between file and virtual is that file uses a relative path, while virtual is the full virtual path to the dummy directory within your Web site, such as:
<!--#include file = "Inc/char.inc"-->
Represents the Char.inc in the INC directory under the virtual directory path that contains the current file, and it may be necessary to write in virtual:
<!--#include virtual = "/myweb/inc/char.inc"-->


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.