Re: using listfiles to build a database?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27257
interpreted = N
texte = >Hi all, > >I need to build a database from files on the hard drive. I am thinking I >should use listfiles then pull the data and append it to a file to buiild my >DB. How would I get listfiles to work down the directories and get the other >files? > >I am using WebCat 3.07 on Solaris with apache. > >Thanks Therio, If you make the [listfiles] an include in your template and showif [isfolder]=T you can descend the dir tree. I posted similar code to delete shopping carts recursively. If you search the archives you should be able to modify it to suit your needs. Hope this helps.Micheal O Shea Email:micheal@com4u.ch com4u.ch http://www.com4u.ch Breitistrasse 7B PGP key available upon request. CH-5506 Maegenwil Tel: +41 62 896 46 26 Switzerland------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: using listfiles to build a database? more (Dale Therio 2000)
  2. Re: using listfiles to build a database? more (Kenneth Grome 2000)
  3. Re: using listfiles to build a database? more (Therio, Dale 2000)
  4. Re: using listfiles to build a database? more (Kenneth Grome 2000)
  5. Re: using listfiles to build a database? more (WebDNA Support 2000)
  6. Re: using listfiles to build a database? (WebDNA Support 2000)
  7. Re: using listfiles to build a database? more (Joseph D'Andrea 2000)
  8. Re: using listfiles to build a database? more (Dale Therio 2000)
  9. Re: using listfiles to build a database? more (Michael O Shea 2000)
  10. Re: using listfiles to build a database? more (Dale Therio 2000)
  11. Re: using listfiles to build a database? more (Michael O Shea 2000)
  12. Re: using listfiles to build a database? more (Michael O Shea 2000)
  13. Re: using listfiles to build a database? more (Therio, Dale 2000)
  14. Re: using listfiles to build a database? more (Dale Therio 2000)
  15. Re: using listfiles to build a database? (Michael O Shea 2000)
  16. Re: using listfiles to build a database? (Kenneth Grome 2000)
  17. Re: using listfiles to build a database? (Dale Therio 2000)
  18. Re: using listfiles to build a database? (Therio, Dale 2000)
  19. Re: using listfiles to build a database? (Michael O Shea 2000)
  20. using listfiles to build a database? (Therio, Dale 2000)
>Hi all, > >I need to build a database from files on the hard drive. I am thinking I >should use listfiles then pull the data and append it to a file to buiild my >DB. How would I get listfiles to work down the directories and get the other >files? > >I am using WebCat 3.07 on Solaris with apache. > >Thanks Therio, If you make the [listfiles] an include in your template and showif [isfolder]=T you can descend the dir tree. I posted similar code to delete shopping carts recursively. If you search the archives you should be able to modify it to suit your needs. Hope this helps.Micheal O Shea Email:micheal@com4u.ch com4u.ch http://www.com4u.ch Breitistrasse 7B PGP key available upon request. CH-5506 Maegenwil Tel: +41 62 896 46 26 Switzerland------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Michael O Shea

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:

Assigning carts (1998) database freeze (1997) Is this google friendly? (2003) Further on formula.db failure to calculate shipCost (1997) Banners (1997) New public beta available (1997) [ModDate] & [ModTime] ? (1997) [include file=filename.inc&strip=t] (2002) 2nd WebCatalog2 Feature Request (1996) California Tax Rates (1998) emailer (1997) Resetting a Formvariable (2000) Uploading Files (2000) stumped [OT] (2001) Running _every_ page through WebCat ? (1997) Pithy questions on webcommerce & siteedit (1997) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) newbie Q: [cart] documentation (1999) Protect vs Authenicate (1997) WebCat2: Formulas.db question (1997)