Results 1 to 3 of 3

Thread: physical path

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2005
    Posts
    30

    physical path

    Hello,

    I m trying to do something like this:
    <!-- #include file="C:\Inetpub\clientroot\test\includeFile.inc" -->

    but he always says he can't find the file even though it is in that path.

    is this wrong type of code or something?

    I never used a physical path before...

    tnx in advance

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: physical path

    Remove the space between the - and the #.

    If that doesn't help, try using a virtual path for your INC file.

  3. #3
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308

    Re: physical path

    This will create problems when you upload your pages to web server.

    You better use mendhak's suggestion that is :

    <!--#include file="includeFile.inc"-->

Posting Permissions

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



Click Here to Expand Forum to Full Width