Help! Simple problem with includes

Results 1 to 2 of 2

Thread: Help! Simple problem with includes

  1. #1
    Join Date
    Dec 1969

    Default Help! Simple problem with includes

    I have used includes many many times before, but suddenly one of my sites is giving me errors with my include files.<BR><BR>I am using the line of code:<BR><BR>&#060;!--#include virtual="file-to-include.asp" --&#062;<BR><BR>in my .asp file, but, when i run the .asp file, I get a strange error message telling me that file-to-include.asp is not found. I am positive the file is there, in the same directory, and have done this a dozen times before without a problem.<BR><BR>I have tried changing the file names, and even a different directory. Using this same host provider (different accounts though), I have used includes without incendent in the same fashion. Can anyone tell me what the problem might be?<BR><BR>This project is time sensitive, and so I am in urgent need. Thanks!<BR><BR>Hank<BR>

  2. #2
    Leungas Guest

    Default RE: Help! Simple problem with includes

    Include command is serverpath sensitive. Have you make sure that you have access to the directory where the include file is ?

Posting Permissions

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