Re: Database Path

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20037
interpreted = N
texte = >I'm using an add command in a form and I am currently using a full URL to >point to the database, which the add command will use to add products to my >shopping cart. The full URL starts from my webstar server folder to the >database file. > >My question is can I use a relative path instead. For example, I would >like to use a relative like the following: ../../databasefolder/database.dbYes, it works like you want. Everything is relative to the template file. If it says it can't find the db, then re-examine your relative path to make sure it's right, and play with the number of ../ until it works.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Database Path (Wayne Morishige 1998)
  2. Re: Database Path (PCS Technical Support 1998)
  3. Database Path (Wayne Morishige 1998)
  4. Re: database paths/names, and a typo (Grant Hulbert 1997)
  5. database paths/names, and a typo (a.h.s. boy 1997)
>I'm using an add command in a form and I am currently using a full URL to >point to the database, which the add command will use to add products to my >shopping cart. The full URL starts from my webstar server folder to the >database file. > >My question is can I use a relative path instead. For example, I would >like to use a relative like the following: ../../databasefolder/database.dbYes, it works like you want. Everything is relative to the template file. If it says it can't find the db, then re-examine your relative path to make sure it's right, and play with the number of ../ until it works.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

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:

[WebDNA] TCPConnect example doesn't work (2017) select multiple 2 more cents (1997) Mime Headers / Meta-Tags (2003) Showif, Hideif reverse logic ? (1997) Emailer setup (1997) the comparison character \ (2000) Weird problems with [SHOWIF]s (1997) Part Html part WebDNA (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) syntax question, not in online refernce (1997) Show if time tags (1997) Pull Down Search (2000) Weird error/limit - something amiss? (1997) Reindexing a db with duplicate numbers... (1999) Cleaning up user input - fractions (2004) A multi-processor savvy WebCatalog? (1997) Add Unit Ship Cost to Cart (2000) Possible Bug in 2.0b15.acgi (1997) Bug Report, maybe (1997) Replace Missing Images (2003)