Gossamer Forum
Home : Products : Gossamer Links : Discussions :

include's that include any file ?

Quote Reply
include's that include any file ?
In Reply To:
3. include's that include any file (sorry Robert). =)

<%include /www/styles.css%>
How could I include files "out-of-cgi" directory? I suppose this means we can include 'include files' elsewhere but I've tried the 2.01 version without luck!



Quote Reply
Re: include's that include any file ? In reply to
I do this:

<%include /home/myroot/www/includes/header.html%>

So, I think you just put in the absolute path, or atleast that worked for me. Smile


Robert Blackstone
Webmaster of Scato Search
http://www.scato.com
Quote Reply
Re: include's that include any file ? In reply to
Thats right.....

As long as you include the full path you shouldnt have any trouble.

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: include's that include any file ? In reply to
Thanks for all of you. I've test it again and found out that if the file specified exsited, then it will work right. And if it can not find that file, then it put out an error message just like the old days. Hmm, another great job from GT.Smile

Quote Reply
Re: [Robert_B] include's that include any file ? In reply to
Hi All-
So how would I do the reverse? I want to include a template file in a page outside of the links system. For instance on the index page?

thx-