Help "including" a file - Is it a path or a default problem? (Posted by jfk)
Greetings.
I'm in the process of starting an e-zine and i use a lot the <!--#include file="bla.txt" --> statement.
My problem is that when i try to do an include of a file located in a root directory the ssi doesn't work.
For instance, if i put <!--#include file="../bla.txt" --> or even the full path <!--#include file="/home/www/domain/path/bla.txt" --> it still doesn't work. Does it work only with files located in the same directory as the .shtml file?
If you could help a newbie... oh well...
Thanks in advance,
Ricardo
Randall posted this at 18:56 — 29th October 1999.
They have: 141 posts
Joined: Aug 1999
Try this code:
<!--#include virtual="../blahblah.html"-->
'Virtual' works a little different than 'file'
----------
The dLo Network
http://dlo.net
jfk posted this at 22:13 — 29th October 1999.
They have: 59 posts
Joined: Jun 1999
))))))))
It worked!!! Thanks a lot! I could kiss you!! (cof cof)
))
Ricardo
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.