I think I have a problem. I included this statement:
<!--#include virtual="/includes/something.txt"#-->
(I also tried:
<!--#include virtual="/includes/something.htm"#-->
in the middle of a web page. When I check the page source online, the INCLUDE file is there, but NO other source code (the normal web site code) is not. Therefore the page is not complete and bombs out.
I guess my question is:
Can you have a SSI call in the MIDDLE of the page? I would think you can.
Here is the code for my include file:
******
<table width="100%" border="0" cellspacing="8" cellpadding="3">
<tr>
<td bgcolor="#003366" valign="middle">
<div align="left"><font size="2" face="Arial, Helvetica, sans-serif" class="s2"><a href="/contest">Online Contest</a></font></div>
</td>
<td valign="middle"> </td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
</table>
******
In case you need MORE reading material, here is where I call the include (Keep in mind that this is in the middle of the source code. I did not want to print the ENTIRE web page. It is pretty big!!!:
<table BORDER=0 topmargin="0" leftmargin="0" topborder="0" leftborder="0" CELLPADDING=0 CELLSPACING=0>
<tr valign="top">
<td>
<div align="left"><font size="1"><a href="../tellafriend" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image21','','../graphic/tellon.gif',1)"><img name="Image21" border="0" src="../graphic/tellafriend.gif" width="127" height="26" alt="tell a friend"></a></font></div>
</td>
</tr>
<tr>
<td>
<div align="left"><font size="1"><a href="/postcard" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image22','','../graphic/poston.gif',1)"><img name="Image22" border="0" src="../graphic/postcard.gif" width="127" height="40" alt="send postcard"></a></font></div>
</td>
</tr>
<tr>
<td>
<div align="left"><!--#include virtual="/includes/something.txt"#--></div>
</td>
</tr>
<tr>
<td>
<div align="left"></div>
</td>
</tr>
</table>
*************
After it inserts the INLCUDE FILE, the page stops loading. Thank you very much for your help!





Bookmarks