[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RaQ4 - auto includes via config files possible?



> 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