Welcome to WebmasterWorld Guest from 54.146.217.179

Forum Moderators: incrediBILL

Message Too Old, No Replies

Server-side includes

Is anything possible?

     
11:24 pm on Jul 30, 2004 (gmt 0)

New User

10+ Year Member

joined:June 24, 2004
posts:31
votes: 0


Can I put just about anything in an ssi file?
for example, can I put a table in there so that all I have on the actual page would be something like
<!--#include virtual="/ssi/table.html" -->
and on the server, saved as "table.html" is the actual table html that has an actual link to our logo in it?
12:17 am on July 31, 2004 (gmt 0)

Preferred Member

10+ Year Member

joined:Oct 30, 2000
posts:497
votes: 0


Sure you can. Someone correct me if I am wrong but I think this page is generated by a SSI call, although calling a cgi script.

Of course the more you use SSI and the larger the file you are calling the more resources are being used by your server.

2:23 am on July 31, 2004 (gmt 0)

Preferred Member

10+ Year Member

joined:Feb 13, 2003
posts:590
votes: 0


Sure, I've seen pages that in their entirety consisted of something like this:

<!--#include virtual="/header.html" -->
<!--#include virtual="/content.html" -->
<!--#include virtual="/footer.html" -->

In fact, I've created pages like that.

12:06 am on Aug 1, 2004 (gmt 0)

New User

10+ Year Member

joined:June 25, 2004
posts:13
votes: 0


Sure you can. You can even use SSI to include parts of tables in various locations on the page if the includes complete a table.