#include with IIS4.0

Results 1 to 2 of 2

Thread: #include with IIS4.0

  1. #1
    Join Date
    Dec 1969

    Default #include with IIS4.0

    I am trying to include a file based on a querystring that pulls the file name from an Access database. In IIS 5.0, all I need to do is do:<BR><BR>Server.Execute(main)<BR>where "main" is a variable that equals to, let&#039s say news.htm.<BR><BR>But in IIS 4.0, the include command<BR>&#060;!--#include="main"--&#062;<BR>doesn&#039t work because the include command is done first, before we get the value of the variable "main". Is there a workaround under IIS 4.0?

  2. #2
    Join Date
    Dec 1969

    Default RE: #include with IIS4.0

    Its &#060;!--#include file="file.txt"--&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts