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:

    
  1. Re: absolute path (*) - how does it work? ( Frank Nordberg 2007)
  2. absolute path (*) - how does it work? ( "Olin Lagon" 2007)
  3. Re: Absolute path (Brian Fries 2003)
  4. Re: Absolute path (marc@kaiwi.com (Marc Kaiwi) 2003)
  5. Re: Absolute path (Brian Fries 2003)
  6. Re: Absolute path (marc@kaiwi.com (Marc Kaiwi) 2003)
  7. Re: Absolute path (WebCat @ Inkblot Media 2003)
  8. Re: Absolute path (Dan Strong 2003)
  9. Re: Absolute path (marc@kaiwi.com (Marc Kaiwi) 2003)
  10. Re: Absolute path (marc@kaiwi.com (Marc Kaiwi) 2003)
  11. Re: Absolute path (Dan Strong 2003)
  12. Re: Absolute path (Dan Strong 2003)
  13. Absolute path (marc@kaiwi.com (Marc Kaiwi) 2003)
  14. Re: Copyfile to length limit for absolute paths (Brian Fries 2003)
  15. Re: Copyfile to length limit for absolute paths (Scott Anderson 2003)
  16. Re: Copyfile to length limit for absolute paths (Brian Fries 2003)
  17. Copyfile to length limit for absolute paths (Brian Fries 2003)
  18. Re: absolute paths for databases? (Olin 1997)
  19. Re: absolute paths for databases? (Grant Hulbert 1997)
  20. Re: absolute paths for databases? (Grant Hulbert 1997)
  21. Re: absolute paths for databases? (Paul Uttermohlen 1997)
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:

RequiredFields notes ... (1997) groups and [ShowNext] (1997) Searchable list mail via wwebcat (1998) date (1998) [WebDNA] Auction (2009) Plugin or CGI or both (1997) WebCatalog can't find database (1997) Searching Numbers (2004) Fun with dates (1997) [WebDNA] WebPOP with godaddy account (2011) Cart sweeper (2000) Help! WebCat2 bug (1997) WebCatalog [FoundItems] Problem - LONG - (1997) Summing fields (1997) Can [writefile] files be served thru webcat? (2000) 2.0.1 new commands and contexts (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Re:quit command on NT (1997) Copyright ? (1997) Palm Pilot, Blackberry and WebDNA (2003)