[Webdev] very poor html q
gav at doesnotcompute.net
Fri Jun 16 13:20:15 IST 2000
you were talking about you can place the code:
nomally put inbetween <script> and </script>
On Fri, 16 Jun 2000, Lars Hecking wrote:
> MC writes:
> > I will try to get this one in quick while the list is new! (but it has me stuck a while). Maybe just html.
> > Is there an easy way to get a page to pull in another file (like maybe to put
> > something like a sig at the bottom of every page, rather than inserting it
> > into every .html file)? This occurred to me while trying to access a script
> > (e.g. to print time and date/counter), but without typing the script in every
> > page. I can see how to include jpgs, and so forth... but text has me stumped.
> > hope this doesn't lower the tone too much,
> One way of doing this is SSI, server side includes. E.g. at the bottom of
> every page:
> <!--#include virtual="/common/trailer.shtml" -->
> Check out the mod_include section in the Apache manual.
> SSI is quite neat. It allows, for instance, to set variables at the top
> of every page, and then, in trailer.shtml, take different paths depending
> on the values of these variables.
> Webdev mailing list
> Webdev at linux.ie
More information about the Webdev