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:
Verifying both name and password (was: THANKS) (1997)
OT-JS why it does not run on Mac (2001)
About the E-mailer (2002)
SUMM=T does not summarize by the sort parameters ... (2003)
Listserver problem (1997)
[WebDNA] WebDNA Not Sending Email (2009)
Possible Bug in 2.0b15.acgi (1997)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
SSL and 2.1.1 .acgi (1998)
how to check for no value while using [URL] to prevent cr (1999)
WebDNA vs PHP (2003)
WebTen Memory Error with Plug-In (1998)
WebCat constantly restarting (2001)
Summing fields (1997)
typhoon vs. webcatalog (1997)
[WriteFile] problems (1997)
WebCat editing, SiteGuard & SiteEdit (1997)
validatin on NT (1998)
Help! Missing [showif] or [hideif] (2000)
RE: [WebDNA] Append speed limits (2008)