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 makesure 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 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>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 makesure 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 | Typhoon619/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:
WebCat and image maps (1997)
Date or time comparisons have bugs ... (1998)
WCS Newbie question (1997)
WC2b15 File Corruption (1997)
Using [Showif] tag. Mac (1997)
can webcat create directories on NT? (1997)
Whats going on with my SERIAL NUMBER??? (1998)
Protect (1997)
[search] & [encrypt]/[decrypt] (2001)
WebCatalog NT beta 18 problem (1997)
Fwd: FW: Returned mail: you are not authorized to release queueson this server (2000)
WebCatalog for guestbook ? (1997)
WebDNA Book? (2003)
Adding Items to Cart (2003)
AAgghh!! Help, please. SSL strikes again. (1997)
RE: File Uploads (1998)
Parsing args without ? (2003)
Protecting Images (2003)
International Orders (1998)
hmmm (2006)