Include + Files

Results 1 to 3 of 3

Thread: Include + Files

  1. #1
    Rob Guest

    Default Include + Files

    I have a file located at:<BR>d:/files/databases/log1.db<BR><BR>and my ASP files are located at:<BR>d:/server/www/default.asp<BR><BR>I am trying to use the "include" to include log1.db in my ASP file, but I can&#039;t seem to get the code right :( Can anyone help me out?<BR><BR>-Rob

  2. #2
    Join Date
    Dec 1969

    Default RE: Include + Files

    try &#060;!--#include virtual="files/databases/log1.db"--&#062; or even &#060;!--#include virtual="d:files/databases/log1.db"--&#062;.<BR><BR>You may not be able get beyond the www directory. Check you IIS Server Manager under properties for your website to see where the web site structure begins. In this case you should save the log1.db file within the www directory, and not the files directory.

  3. #3
    Rob Guest

    Default RE: Include + Files

    Ok I got it working now, thanks dude!

Posting Permissions

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