[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] RaQ4 - auto includes via config files possible?
- Subject: Re: [cobalt-users] RaQ4 - auto includes via config files possible?
- From: Paul Warner <pwarner@xxxxxxxxxxxxxxxxxx>
- Date: Tue Jan 28 06:44:05 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> Hi folks
>
> This may seem like a wacky request, but is there a way via config files to
> automatically append an include file to the start or end of every page
> served (i.e. all .asp or all .html), without having to alter the
individual
> pages themselves?
>
> Cheers,
> Tim Skipper
>
Tim-
PHP has such a function. Use 'auto_prepend_file' and 'auto_append_file'.
You could have php process .html files (which would have no php code) but
would get the additional includes. I'm guessing it would do nasty things
with asp, though.
-- Paul