Re: Absolute path
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 51189
interpreted = N
texte = Thanks Brian,One question. I couldn't find any documentation for WebDNA's absolute path character * or the ^ globals thing.Where would I look for these?Again, thanks!MKOn Thursday, June 19, 2003, at 02:36 PM, Brian Fries wrote:> The absolute path character is *, and it must be turned on in WebDNA > Preferences to be enabled, for security reasons.>> So, if you enable the absolute path prefix, then [listfiles */] will > show all the files and folders at your server's root. Works with most > any WebDNA context that takes paths.>> That being said, it will NOT work for including an image on a page > from outside the web site's folder. You cannot [include] an image > file, you have to place it with an HTML
![]()
tag, which cannot access > files outside the web site's structure. WebDNA can see them, but the > web server cannot - again, for security purposes.>> If you want to share images among multiple sites, you need use full > URLs to place images from one site within pages on another --
![]()
src=http://another.site.com/theimage.jpg>>> - brian>> On Thursday, June 19, 2003, at 01:10 PM, Marc Kaiwi wrote:>>> Not exactly ... what I need is is an an absolute path for an image >> which is being [included] from two different directories.>>>> for eaxample: http://www.host.com/theimage.jpg would work but isn't >> there a little wc trick for backing up to the server's root >> directory?>>>> Thanks,>>>> MK>>>> On Thursday, June 19, 2003, at 01:07 PM, Dan Strong wrote:>>>>> A little too quick on the send, sorry...>>> ------------>>> Folder 1>>> Folder 2>>> Folder 3>>> you_are_here.html>>> ------------>>>>>> a link within you_are_here.html like this ../Folder >>> 2/whatever.html>>>>>> Will bring you up and out of Folder 3 and into Folder 2>>>>>> Is that what you mean?>>>>>> -Dan>>> ------------------------------------------------------------>>> http://www.StrongGraphicDesign.com>>> (208) 319-0137 | Toll-free p/f 877-561-1656>>> ------------------------------------------------------------>>>>>>>>> On Thu, 2003/06/19 13:04:33 -0700>>> Dan Strong
wrote:>>>> Folder 1>>>> Folder 2>>>> Folder 3>>>>>>>>>>>> On Thu, 2003/06/19 12:57:22 -0700>>>> marc@kaiwi.com (Marc Kaiwi) wrote:>>>>> Quick question.>>>>> What's that little trick for getting an absolute path? Is it >>>>> something like ^/this/that ... where does that put me?>>>>>>>>>> Thanks>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/>>Signed: Marc Kaiwi-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Thanks Brian,One question. I couldn't find any documentation for WebDNA's absolute path character * or the ^ globals thing.Where would I look for these?Again, thanks!MKOn Thursday, June 19, 2003, at 02:36 PM, Brian Fries wrote:> The absolute path character is *, and it must be turned on in WebDNA > Preferences to be enabled, for security reasons.>> So, if you enable the absolute path prefix, then [listfiles */] will > show all the files and folders at your server's root. Works with most > any WebDNA context that takes paths.>> That being said, it will NOT work for including an image on a page > from outside the web site's folder. You cannot [include] an image > file, you have to place it with an HTML
tag, which cannot access > files outside the web site's structure. WebDNA can see them, but the > web server cannot - again, for security purposes.>> If you want to share images among multiple sites, you need use full > URLs to place images from one site within pages on another --
src=http://another.site.com/theimage.jpg>>> - brian>> On Thursday, June 19, 2003, at 01:10 PM, Marc Kaiwi wrote:>>> Not exactly ... what I need is is an an absolute path for an image >> which is being [included] from two different directories.>>>> for eaxample: http://www.host.com/theimage.jpg would work but isn't >> there a little wc trick for backing up to the server's root >> directory?>>>> Thanks,>>>> MK>>>> On Thursday, June 19, 2003, at 01:07 PM, Dan Strong wrote:>>>>> A little too quick on the send, sorry...>>> ------------>>> Folder 1>>> Folder 2>>> Folder 3>>> you_are_here.html>>> ------------>>>>>> a link within you_are_here.html like this ../Folder >>> 2/whatever.html>>>>>> Will bring you up and out of Folder 3 and into Folder 2>>>>>> Is that what you mean?>>>>>> -Dan>>> ------------------------------------------------------------>>> http://www.StrongGraphicDesign.com>>> (208) 319-0137 | Toll-free p/f 877-561-1656>>> ------------------------------------------------------------>>>>>>>>> On Thu, 2003/06/19 13:04:33 -0700>>> Dan Strong wrote:>>>> Folder 1>>>> Folder 2>>>> Folder 3>>>>>>>>>>>> On Thu, 2003/06/19 12:57:22 -0700>>>> marc@kaiwi.com (Marc Kaiwi) wrote:>>>>> Quick question.>>>>> What's that little trick for getting an absolute path? Is it >>>>> something like ^/this/that ... where does that put me?>>>>>>>>>> Thanks>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/>>Signed: Marc Kaiwi-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
marc@kaiwi.com (Marc Kaiwi)
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
change the number format (1997)
can webcat determine an image's pixel dimensions? (2000)
[OT] International CC processing (2000)
WebCatalog 4 Install Problems - Not Answered ?? (2000)
Date Calulation (1997)
Frames and WebCat (1997)
& Aftermath (1999)
Virtual Domains (1998)
Searchable WebCat (etc.) Docs ? (1997)
Copyright that puppy (1998)
Database Structure? (1998)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
[WebDNA] Need to convert unix date? (2009)
Web Catalog 2 demo (1997)
Attention all list readers (1997)
Adding multiple items to Cart at one time, & append contextproblem (1998)
Cart Question (1998)
createfolder permissions (2003)
Limitations on fields? Server is crashing (1997)
[WebDNA] Image Magick and Webdna (2009)