In the sections above we have used the file extension ".inc"
for included files. Notice that if a user tries to browse an INC
file directly, its content will be displayed. If your included
file contains confidential information or information you do not
want any users to see, it is better to use an ASP extension. The
source code in an ASP file will not be visible after the
interpretation. An included file can also include other files,
and one ASP file can include the same file more than once.
Important: Included files are processed and inserted
before the scripts are executed.
The following script will not work because before it assigns a value to the variable ,ASP executes the
#include directive:
|