non asp server side includes

Discussion in 'Hosting Services / Control Panel' started by jl567, Sep 6, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. [?]
    Hi.
    I'm transfering my site to this host from a basic cpanelx unix server. I have my site set up with server side includes using the shtml format. This doesn't work here.

    Please tell me the basic format for including snippets of code in txt files? Once the site is up here, I can let someone else do the asp coding. Thanks for your help!
     
  2. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

    We do not support Server Side Includes in the .shtml format.

    DiscountASP.NET
     
  3. To include a file in ASP:

    If the file to be included is in the same directory as the page with the include statement, use

    <!--#INCLUDE FILE="file_name_here"-->

    else, if the file to be included is in a different directory with respect to the include statement, use

    <!--#INCLUDE VIRTUAL="file_name_here"-->

    Note that this only works on a .asp page, and must be put outside of the code tags (eg <% and %>) Hope this helps.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page