On Sat, Oct 8, 2011 at 5:33 PM, Complex <complex.confus...@gmail.com> wrote:

> Thanks for the advice, I'm aware of all that, but I'm looking for a
> specific PHP solution at the moment. Unless you have advice on how I
> can update the SSI includes on the larger website *without* having to
> also update the PHP includes for this smaller website?
> I take it that you don't know of such a function; do you have a
> recommendation for a good function or program repository I could
> search? The couple that I was looking at (such as
> http://php.resourceindex.com/) don't look like they've received a
> whole lot of attention lately, and may not be the best sources.

Did you look at my suggestion as work around such as replacing the SSI
mechanism for a particular path/URL with PHP?  Use of 'Conditional
expressions' [1] maybe necessary which is beyond the scope of this list.

"What are SSI?

SSI (Server Side Includes) are directives that are placed in HTML pages, and
evaluated on the server while the pages are being served. They let you add
dynamically generated content to an existing HTML page, without having to
serve the entire page via a CGI program, or other dynamic technology.

The decision of when to use SSI, and when to have your page entirely
generated by some program, is usually a matter of how much of the page is
static, and how much needs to be recalculated every time the page is served.
SSI is a great way to add small pieces of information, such as the current
time. But if a majority of your page is being generated at the time that it
is served, you need to look for some other solution." [1]

Last time I checked, SSI, either on httpd or IIS, doesn't have any means to
do dynamically, including generating headers, as you intended.


[1] http://httpd.apache.org/docs/current/howto/ssi.html

Reply via email to