What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: [WebDNA] Passing a text variable via copyfile

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114907
interpreted = N
texte = 2535 > 2) You want [TEXT]name=richard[/TEXT] in the new page (this > is the bit that I am unsure of) If this is what he wants he would already be getting it with his existing code as long as his companion.html file contains the code [TEXT]name=richard[/TEXT]. But I think what he really wants is a new file that contains "richard". This requires WebDNA to interpret the code in his companion.html template so it can populate the [name] tag. But copyfile does not interpret WebDNA tags: The thing to remember about copyfile is that it invokes the OPERATING SYSTEM to make the copy. Therefore WebDNA is not involved in the actual file copying process, and this means any WebDNA tags in the original file will NOT be interpreted. I could have simplified my previous example code like this: [writefile ../[lowercase][page_name][/lowercase].html] [include companion.html] [/writefile] .... but sometimes creating separate steps in my code makes it easier to read and understand. Nevertheless this code should work fine if he wants "richard" to appear in the new file. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Urgent/Emergency Phone: (228) 222-2917 Website, Database, Network, and Communication Systems --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Passing a text variable via copyfile (Rich Kwas 2019)
  2. Re: [WebDNA] Passing a text variable via copyfile (WebDNA Solutions 2019)
  3. Re: [WebDNA] Passing a text variable via copyfile (Rich Kwas 2019)
  4. Re: [WebDNA] Passing a text variable via copyfile (Stuart Tremain 2019)
  5. RE: [BULK] Re: [WebDNA] Passing a text variable via copyfile ("Terry Nair" 2019)
  6. [BULK] Re: [WebDNA] Passing a text variable via copyfile (Rich Kwas 2019)
  7. RE: [WebDNA] Passing a text variable via copyfile ("Terry Nair" 2019)
  8. Re: [WebDNA] Passing a text variable via copyfile (Rich Kwas 2019)
  9. Re: [WebDNA] Passing a text variable via copyfile (WebDNA Solutions 2019)
  10. Re: [WebDNA] Passing a text variable via copyfile (Rich Kwas 2019)
  11. RE: [WebDNA] Passing a text variable via copyfile ("Scott @ Itsula" 2019)
  12. Re: [WebDNA] Passing a text variable via copyfile (Rich Kwas 2019)
  13. RE: [WebDNA] Passing a text variable via copyfile ("Scott @ Itsula" 2019)
  14. Re: [WebDNA] Passing a text variable via copyfile (Rich Kwas 2019)
  15. Re: [WebDNA] Passing a text variable via copyfile (WebDNA Solutions 2019)
  16. [WebDNA] Passing a text variable via copyfile (Richard Kwasniewski 2019)
2535 > 2) You want [text]name=richard[/TEXT] in the new page (this > is the bit that I am unsure of) If this is what he wants he would already be getting it with his existing code as long as his companion.html file contains the code [text]name=richard[/TEXT]. But I think what he really wants is a new file that contains "richard". This requires WebDNA to interpret the code in his companion.html template so it can populate the [name] tag. But copyfile does not interpret WebDNA tags: The thing to remember about copyfile is that it invokes the OPERATING SYSTEM to make the copy. Therefore WebDNA is not involved in the actual file copying process, and this means any WebDNA tags in the original file will NOT be interpreted. I could have simplified my previous example code like this: [writefile ../[lowercase][page_name][/lowercase].html] [include companion.html] [/writefile] .... but sometimes creating separate steps in my code makes it easier to read and understand. Nevertheless this code should work fine if he wants "richard" to appear in the new file. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Urgent/Emergency Phone: (228) 222-2917 Website, Database, Network, and Communication Systems --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us . WebDNA Solutions

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:

Bad Cookie / Internet Option / Internet Explorer (2004) Sales Tax db (1998) HELP WITH DATES (1997) TinyStore Question (1999) WebCatb15 Mac CGI -- [purchase] (1997) two unique banners on one page (1997) No Wanna Duppys (1998) Locking up with WebCatalog... (1997) missing records (1998) Locking up with WebCatalog... (1997) Problems appending to database (1997) Code database (1998) Search returns all, not 20 (1997) Help! WebCat2 bug (1997) Can't load tmpl files (1997) Bulletin Board (1998) writing db to disk (1997) question: webdelivery folder and file (1997) More on the email templates (I like it) (1997) Prepaid monthly subscription order fulfillment question (2004)