Re: About the Allow 'Absolute Path' Prefix

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44872
interpreted = N
texte = The * prefix will take you to the root of the drive .. Use the second option below.> Hello Everyone, > > I'd like more information on using the Allow 'Absolute Path' Prefix > feature. Let's say my WebSTAR V server directory looks like this: > > /Speed2/Applications/4DWebSTAR/WebServer/My_Site/Smaller_Site > > ...and I have a .tpl page located in the Smaller_Site folder from which > I want to access a database located in the My_Site folder. I'm fully > aware I could use ../ to go up one folder but I'm trying to understand > how I could do it differently, perhaps using the Allow 'Absolute Path' > Prefix. Would I do: > > a) [search > db=/My_Site/Sample_Database.db&eqWhateverSearchdata=SomeVariable] > > b) [search db=* > /Speed2/Applications/4DWebSTAR/WebServer/My_Site/ > Sample_Database.db&eqWhateverSearchdata=SomeVariable] > > c) [search > db=^/My_Site/Sample_Database.db&eqWhateverSearchdata=SomeVariable] > > ...or some other way you can think of. I'm trying to make the link > portable to any number of subfolders because I might want to use this > same link from Even_Smaller_Nested_Site_Folders which can't find the > right directory level with the ../ method. > > WebSTAR V under OS X 10.2 is a different beast as far as directories > are concerned so that's why I need your help. > > Thank you, > > -- > Claude Gelinas, Chief Technology Officer > SuperJobs.net Online Employment Central > > Mailto:cgelinas@superjobs.net > http://www.superjobs.net/ > > Phone: (418) 657-6184 > Toll free: 1 866 783-2321 > > Where dynamic employers find talented candidates. > > > ------------------------------------------------------------- > 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://search.smithmicro.com/ ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: About the Allow 'Absolute Path' Prefix (Brian Fries 2002)
  2. Re: About the Allow 'Absolute Path' Prefix (Claude Gelinas 2002)
  3. Re: About the Allow 'Absolute Path' Prefix (Brian Fries 2002)
  4. Re: About the Allow 'Absolute Path' Prefix (Claude Gelinas 2002)
  5. Re: About the Allow 'Absolute Path' Prefix (Alain Russell 2002)
  6. About the Allow 'Absolute Path' Prefix (Claude Gelinas 2002)
The * prefix will take you to the root of the drive .. Use the second option below.> Hello Everyone, > > I'd like more information on using the Allow 'Absolute Path' Prefix > feature. Let's say my WebSTAR V server directory looks like this: > > /Speed2/Applications/4DWebSTAR/WebServer/My_Site/Smaller_Site > > ...and I have a .tpl page located in the Smaller_Site folder from which > I want to access a database located in the My_Site folder. I'm fully > aware I could use ../ to go up one folder but I'm trying to understand > how I could do it differently, perhaps using the Allow 'Absolute Path' > Prefix. Would I do: > > a) [search > db=/My_Site/Sample_Database.db&eqWhateverSearchdata=SomeVariable] > > b) [search db=* > /Speed2/Applications/4DWebSTAR/WebServer/My_Site/ > Sample_Database.db&eqWhateverSearchdata=SomeVariable] > > c) [search > db=^/My_Site/Sample_Database.db&eqWhateverSearchdata=SomeVariable] > > ...or some other way you can think of. I'm trying to make the link > portable to any number of subfolders because I might want to use this > same link from Even_Smaller_Nested_Site_Folders which can't find the > right directory level with the ../ method. > > WebSTAR V under OS X 10.2 is a different beast as far as directories > are concerned so that's why I need your help. > > Thank you, > > -- > Claude Gelinas, Chief Technology Officer > SuperJobs.net Online Employment Central > > Mailto:cgelinas@superjobs.net > http://www.superjobs.net/ > > Phone: (418) 657-6184 > Toll free: 1 866 783-2321 > > Where dynamic employers find talented candidates. > > > ------------------------------------------------------------- > 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://search.smithmicro.com/ ------------------------------------------------------------- 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://search.smithmicro.com/ Alain Russell

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:

Middle Context (2002) Re[2]: [foundItems] context question --returns some fields b (2000) Only charge card when product shipped ? (1997) Concatenating Form Variables (1998) Great product and great job ! (1997) [WebDNA] Upgrade pricing (2008) PIXO support (1997) 2.01 upgrade problems (1997) When to use [convertchars] ?!?!? (2000) different show next (1997) Version 2.1.3 question :-) (2003) Word Breaks (1998) Just a thought (1998) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) ANother SHOWIF problem (1997) Join us at MacWorld! - Part 2 (1998) (1997) WC1.6 to WC2 date formatting (1997) Recycling fee (1998) PIXO support (1997)