View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
There are many different methods you can use to include other files in your code.  The method you choose will depend on the kind of file you wish to include:

-If you want to call a PRG file, then you should use the DO command.

-If you want to call an FWX file then you should use the Server.Execute, or Server.Transfer methods.

-If you want to simply include some static HTML code, then you can either include it in an FWX file and use the Server.Execute, or Server.Transfer methods, or you can read it from the disk and send it to the browser:
     Response.Write(FILETOSTR("MyFile.htm"))

FoxWeb Support Team
support@foxweb.com

Sent by Gia Luc on 03/11/2002 04:59:30 AM:
In ASP you can use :

<!--#INCLUDE FILE = ...some file... -->

This is useful if you want to include some script or HTML from one file, into many others.

Is it possible to do the same in Foxweb ?