Difference between revisions of "Webhosting Server Side Includes"
|[checked revision]||[unchecked revision]|
(→Other Webhosting pages: clean up)
m (Comments were interpreted by wiki engine not taken literally)
|Line 1:||Line 1:|
Our servers do not offer SSI facilities
Our servers do not offer SSI facilities !--#include virtual="ssi.htm" --> or !--#include file="ssi.htm" --> however you can create the same effect by using notes were submitted by a customer and are here to help you.
Revision as of 23:11, 15 August 2020
Include the following in the <head></head> section of your page
with your own file name substituted where you want the included text to appear.
Create a file myincludefilename.js to hold the text you want to output, then insert the text and wrap each line in a document.write(" "); statement.
Remember that in JS any newline characters ends the instruction so every line must be wrapped in a document.write statement.
document.write("James Brown is in the office <br>"); document.write("Helen Smith is out of office <br>");
document.write("James Brown is in the office <br> "Helen Smith is out of office <br>");
Other Webhosting pages
<ncl style=bullet maxdepth=5 headings=bullet headstart=2 showcats=1 showarts=1>Category:Webhosting</ncl>