Re: Include File or Include Virtual

From: Aaron Bertrand [MVP] (aaron_at_TRASHaspfaq.com)
Date: 03/30/04


Date: Tue, 30 Mar 2004 15:04:59 -0500


/folder/file.asp is relative to the root
../folder/file.asp is relative to the current folder

Absolute would say http://www.something.com/folder/file.asp or
c:\inetpub\wwwroot\folder\file.css

But I don't feel like arguing anymore, so you win, if you want.

-- 
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"Manohar Kamath [MVP]" <mkamath@TAKETHISOUTkamath.com> wrote in message 
news:ueRh1GoFEHA.2512@TK2MSFTNGP10.phx.gbl...
> At best, it is relative to the domain (say www.something.com). It is not
> relative to the root, since you mention the root in the path. 


Relevant Pages

  • Re: root group in solaris
    ... it gives the user permission to do whatever he wants (which isn't ... I generally take the view that if you can't trust the users with root ... more absolute form "root can do anything", ... STSM, Informix Database Engineering, IBM Information Management Division ...
    (Focus-SUN)
  • Re: Absolute or relative paths
    ... pages in the root, but also has the disadvantage that the site has to be ... that create HTML or including chunks of HTML can be a problem because ... why not use absolute urls? ...
    (alt.html)
  • Re: Image In User Control
    ... a relative url will work okay in every case if you have the image in ... perhaps you are working with absolute URL... ... ...would look for a "Pics" folder at the root of the site. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: [PHP] Question about using ftp_put() for copying files
    ... What puzzles me is that one path must be absolute and the other relative to the root. ... I know about ftp having its own root. ... I must first chdir to the $dist_dir. ...
    (php.general)
  • Re: Binary Tree Depth()
    ... Unless you had absolute height stored at the node. ... In that case it is Oas you examine the root. ... If you examine the root's left child, it indicates -1, if you examine the root's right child it indicates +1 ... The depth is the maximum depth of all branches. ...
    (comp.programming)