Re: Absolute path
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 51188
interpreted = N
texte = 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 --
![]()
- brianOn 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/
Associated Messages, from the most recent to the oldest:
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 --
- brianOn 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/
Brian Fries
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:
UPS QuickCost and More (2000)
Multiple fields on 1 input (1997)
Email notification to one of multiple vendors ? (1997)
list items (1998)
Webcatalog server support (1997)
[Summary] re: Emailer setup (1997)
replacing items in a db (2000)
newcart (1997)
WebDNA5 & XML (2003)
Our Webcat site launched (1997)
FlushDatabase Suggestion (1998)
Redirect frame targets (1998)
Emailer help....! (1997)
Associative lookup style? (1997)
New Site WebCat (1997)
[WebDNA] Problem with Cookies in IE and Safari (2009)
message forum question (2005)
WebMerchant 1.6 and SHTML (1997)
Multiple security dbs (1997)
OT - quiet on the list today - here's something (2004)