>When we code asp pages we can use handy little include files that are. well, include
>files, by doing something like this:
>
>(I hope this doesn't cause HTML email problems - I'm never 100% sure this thang is
>sending plain text).
>
><!--include #file="inc/header.inc"-->
>
>or if you want a full path:
>
><!--include #firtual="/html/todays_sales/inc/header.inc"-->
>
>My boss said with IIS, if you aren't using asp, you just give it an extension (he
>thought it is shtml) and IIS automatically forces the server to parse the file and
>process the includes.
>
>I'd be willing to use PHP if I have to, but is there a way to use includes without
>using a scripting language?
>
>Jonathan Wilson
It is not a scripting language. The lines are "calls" to the Apache web
server, little built-in instructions that get parsed and executed on.
For example, the following lines are also parsed by Apache:
<P><FONT SIZE="-1">Last modified on <!--#echo var="LAST_MODIFIED"-->.</FONT>
The above line will replaced the LAST_MODIFIED variable with the timestamp
of the html file. There are lots of great things available, like yours.
The Apache configuration file allows you to turn on this feature AND you
can set it to parse your normal .html files. I do. No need to change then to
.shtml.
MB
--
e-mail: [EMAIL PROTECTED]
Bart: Hey, why is it destroying other toys? Lisa: They must have
programmed it to eliminate the competition. Bart: You mean like
Microsoft? Lisa: Exactly. [The Simpsons - 12/18/99]
Visit - URL:http://www.vidiot.com/ (Your link to Star Trek and UPN)
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list