Gossamer Forum
Home : Products : DBMan SQL : Discussion :

How do I include a file in a template?

Quote Reply
How do I include a file in a template?
I am trying to include a file in my templates so that dbmanSQL pages match the rest of my site. In html pages I use the following:

<!--#include file="/includes/header.inc"-->

and in cgi scripts I use:

system("/bin/cat /home/sites/347/web/includes/header.inc");

When I use either of these in a template such as header.html, I get a file not found error along with the normal page output.

Any ideas?

Thanks.

Alan
Subject Author Views Date
Thread How do I include a file in a template? alanpollenz 3055 Mar 21, 2002, 4:59 AM
Post Re: [alanpollenz] How do I include a file in a template?
604 2950 Mar 21, 2002, 9:01 AM