Forum Moderators: coopster & phranque

Message Too Old, No Replies

#include virtual=//

         

rcjordan

1:32 am on Dec 30, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I want to call some content (copyright, contact, etc.) using SSI. The include statement might be at various levels, 2, 3, or 4 directories deep. Starting with the a double slash "//" seems to start the path at the root, no matter how deep the page might be. Correct?

<!--#include virtual="//ssicalls/global.txt" -->

Air

2:17 am on Dec 30, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Actually a single slash at the beginning should do the same, if it does not begin with a slash (/) then it is taken to be relative to the current document.

rcjordan

4:46 pm on Dec 30, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>single slash at the beginning should do the same

Yes, it does. Thanks.

Hmmm... I swear I tried that. Oh, well...