help include virtaul

Discussion in 'ASP General' started by Luc Dal, May 24, 2005.

  1. Luc Dal

    Luc Dal Guest

    Hello,

    I've a stupid question : my website is on a disk d: like this
    d:\site_test
    The name of the site is "test" (as defined in IIS console)

    I've one file (named fic.inc) to include in some pages like that
    d:\site_test\include\fic.inc
    In my pages, the instruction <!-- #include file ="../Include/fic.inc" -->
    works well
    But I want to use the virtual path like this <!-- #include virtual
    ="Include/fic.inc" -->
    This last instruction doesn't work

    Who can help me for this stupid question ?
    Thanks
    Luc
    Luc Dal, May 24, 2005
    #1
    1. Advertising

  2. Luc Dal

    Steven Burn Guest

    http://www.w3schools.com/asp/asp_incfiles.asp

    --
    Regards

    Steven Burn
    Ur I.T. Mate Group
    www.it-mate.co.uk

    Keeping it FREE!

    "Luc Dal" <> wrote in message news:d6uqm5$ieh$...
    > Hello,
    >
    > I've a stupid question : my website is on a disk d: like this
    > d:\site_test
    > The name of the site is "test" (as defined in IIS console)
    >
    > I've one file (named fic.inc) to include in some pages like that
    > d:\site_test\include\fic.inc
    > In my pages, the instruction <!-- #include file ="../Include/fic.inc" -->
    > works well
    > But I want to use the virtual path like this <!-- #include virtual
    > ="Include/fic.inc" -->
    > This last instruction doesn't work
    >
    > Who can help me for this stupid question ?
    > Thanks
    > Luc
    >
    >
    Steven Burn, May 24, 2005
    #2
    1. Advertising

  3. your virtual include is not in the correct format

    http://www.powerasp.com/content/code-snippets/includes.asp

    "Luc Dal" <> wrote in message
    news:d6uqm5$ieh$...
    > Hello,
    >
    > I've a stupid question : my website is on a disk d: like this
    > d:\site_test
    > The name of the site is "test" (as defined in IIS console)
    >
    > I've one file (named fic.inc) to include in some pages like that
    > d:\site_test\include\fic.inc
    > In my pages, the instruction <!-- #include file ="../Include/fic.inc" -->
    > works well
    > But I want to use the virtual path like this <!-- #include virtual
    > ="Include/fic.inc" -->
    > This last instruction doesn't work
    >
    > Who can help me for this stupid question ?
    > Thanks
    > Luc
    >
    >
    Kyle Peterson, May 24, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Danny Anderson
    Replies:
    5
    Views:
    472
    Victor Bazarov
    Aug 15, 2003
  2. Rolf Magnus
    Replies:
    2
    Views:
    578
    Karl Heinz Buchegger
    Nov 28, 2003
  3. Replies:
    2
    Views:
    337
  4. Replies:
    6
    Views:
    329
  5. Andreas Bogenberger
    Replies:
    3
    Views:
    847
    Andreas Bogenberger
    Feb 22, 2008
Loading...

Share This Page