SSI help
Most of my site is made up of SSI calls, but I have hit a problem.
Because the file extensions have to be .shtml on my webserver, I call a text file called toplinks.txt which contains the top links of my site.
In there, I want to make an SSI call to a random quote, but because it is a .txt file, it won't allow it.
Is there anyway to bypass it?
--James
(ssi calls toplinks.txt, which has a ssi call in it?)
I don't think it is possible, what you might want to do is split the file into the part above and below the nested ssi call
I have Webmin on my dedicated host, but because the server is hush-hush the admin isn't helping me.
And Apache isn't setup and I have no idea how to get it working LOL
MySQL works on it tho ;)
--James
-Kenneth
require ('shtml/topnavstrip.html');
require ('shtml/topextrastrip.html');
require ('shtml/topsearch.html');
?>
I think its something like that, if not I'd have to check my page code, I'm pretty sure thats what it is
Require is better than the include function, I think
I am a newbie ;)
--WildWayz
PS - also, how can I do it so .php pages are shown if no HTML files are in the dir? At the moment, if an index.htm/l file isn't found, then it shows a dir listing.
wildwayz... if you're still using webmin , the directory problem can be solved through webmin... that's how i got http://animeboards.net/forums/
to requet the index.php file
#If you have any other info about this subject , Please add it free.# |

