Include 813
There are two major differences between processing #include files in ASP and using compiled advanced programming languages, such as C + + processing including files.
First, the ASP does not remove the information that is not involved
The include (), require () statement contains and runs the specified file. The two structures are exactly the same on the containing file, and the only difference is the handling of the error. The require () statement stops when it encounters a
If you include a php file, it will often fail. what do you need to pay attention? The online saying is related to the starting Terminator of php & lt ;? & Nbsp ;? & Gt ;. Let's talk about several situations. in the included php, 1. & lt ;? & Nbsp ;?
The include directive is the compile-time directive, where the content of the file included in the include is inserted into the JSP file when it is compiled, and the JSP engine determines that the JSP page has not been modified, otherwise it is
The include directive is the compile-time directive, where the content of the files included in the include is inserted into the JSP file when compiling, and the JSP engine infers that the JSP page has not been altered, otherwise it is considered
The include directive is the compile-time directive, where the content of the file included in the include is inserted into the JSP file when it is compiled, and the JSP engine determines that the JSP page has not been modified, otherwise it is
The include directive is the compile -time directive, where the content of the file included in the include is inserted into the JSP file when it is compiled, and the JSP engine determines that the JSP page has not been modified, otherwise it is
1. The include () include (pathtofilename) include () statement will include a file at the location where it is called. A file contains the same content as the data copied to the file where the statement is located. Parentheses can be ignored when
If you include a php file, it will often fail. what do you need to pay attention? The online saying is related to the starting Terminator of php
.
Let's talk about several situations,
Included php,
1.
Before html
2.
Only script
3.
Html
In the main
There are many similarities and differences between require () and include (). It's important to understand their differences, otherwise it's easy to make mistakes.
I put these two statements together to introduce, the reader can compare
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.