Major problem with inclues files....


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Major problem with inclues files....

  1. #1
    Corey Guest

    Major problem with inclues files....


    I cannot seem to get my include files to work when runnin on the server.
    If I view it like: U:\index.htm then I can see then the include file works
    but if I view it like this Http://myserver/index.htm then the include file
    dosent show up.

    Here is my statment...

    <!--#include file="test.html"-->



  2. #2
    Harold Harklebarkleson Guest

    Re: Major problem with inclues files....

    Try renaming the file from index.htm to index.shtm - you need to name the
    file appropriately, otherwise the webserver doesn't know that it should
    process server-side includes.



    "Corey" <charbaugh@bma.com> wrote in message
    news:3e0b325e$1@tnews.web.devx.com...
    >
    > I cannot seem to get my include files to work when runnin on the server.
    > If I view it like: U:\index.htm then I can see then the include file works
    > but if I view it like this Http://myserver/index.htm then the include file
    > dosent show up.
    >
    > Here is my statment...
    >
    > <!--#include file="test.html"-->
    >
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center