Re: OT--HTML coding question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Matt Graham
Date:  
To: Main PLUG discussion list
Subject: Re: OT--HTML coding question
> From: "Mark Jarvis" <>
>> [SSI] sounds like a good solution. If this was a commercial web site
>> I'd probably do it. However this is something I'm doing on a
>> volunteer basis using donated space and I'm trying to keep everything
>> small and simple--especially simple.


SSI is pretty simple as these things go, and every web server seems to support
some form of it because it's just so useful. The only thing you really have
to do is to make sure it's enabled for your directory and that the server's
actually interpreting SSI statements in appropriate files. That's another
line in the apache conf:

AddOutputFilter INCLUDES .html .htm .php .inc

...which tells apache to parse filenames ending in those things for SSI
statements.

From: Phillip Waclawski <>
> <?php include 'filenametobepasted'; ?>


This may work too, but: Relative filenames may not work, depending on your
php.ini's include path settings. And usually, files that end in .html won't
be parsed for PHP code, unless you change the server's config to make it do
that.

--
Matt G / Dances With Crows
The Crow202 Blog: http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss