RE: [WebDNA] Passing a text variable via copyfile

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114892
interpreted = N
texte = 2520 --_000_CWLP265MB1556E04597ACA81F7CB43E0F81980CWLP265MB1556GBRP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Am speculating, but is it perhaps simply related to using name, name. Test = with an alternate variable name for name? Scott From: Richard Kwasniewski Sent: 06 October 2019 15:29 To: talk@webdna.us Subject: [WebDNA] Passing a text variable via copyfile I'm creating a a new html page from a form. The user inputs a "page_name" and a "name". I need this "name" to get passe= d into the new page made by copying a template using [copyfile] I need a text variable created on this new page [text]name=3DMelissa[/text] (Melissa is the name being passed via the form in this example) Possible? This is what I'm using for the copyfile command [copyfile from=3Dtemplate.html&to=3D../[lowercase][page_name][/lowercase].h= tml] I have this in my template that is used to create the new page: [text]name=3D[name][/text] [name] gets passed just fine from the and gets written into the database. BUT the variable always is [text]name=3D[name][/text] on the new page created. This is all the code on the page that gets the input from the form: [append db=3Dpages.db][!] [/!]page_id=3D[page_id][!] [/!]&page_name=3D[url][page_name][/url][!] [/!]&name=3D[url][name][/url][!] [/!][!]&description=3D[url][description][/url][/!][!] [/!]&active=3DNo[!] [/!]&create_time=3D[time][!] [/!]&create_date=3D[date][!] [/!]&create_ipaddress=3D[ipaddress][!] [/!][/append] [copyfile from=3Dcompanion.html&to=3D../[lowercase][page_name][/lowercase].= html] Like always thanks for glancing at this. Richard --------------------------------------------------------- This message is s= ent 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.u= s/page.dna?numero=3D55 Bug Reporting: support@webdna.us --_000_CWLP265MB1556E04597ACA81F7CB43E0F81980CWLP265MB1556GBRP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Am speculating, but is it perha= ps simply related to using name, name. Test with an alternate variable name= for name?

 

Scott

 

From: Richard Kwasniewski
Sent: 06 October 2019 15:29
To: talk@webdna.us
Subject: [WebDNA] Passing a text variable via copyfile

 

I'm creating a a new html page from a form.

The user inputs a "page_name" and a "name". I need= this "name" to get passed into the new page made by copying a te= mplate using [copyfile]

I need a text variable created on this new page
[text]name=3DMelissa[/text]
(Melissa is the name being passed via the form in this example)


Possible?

This is what I'm using for the copyfile command
[copyfile from=3Dtemplate.html&to=3D../[lowercase][page_name][/low= ercase].html]

I have this in my template that is used to create the new page:
[text]name=3D[name][/text]

[name] gets passed just fine from the and gets written into the databa= se.
BUT the variable always is 
[text]name=3D[name][/text]
on the new page created.


This is all the code on the page that gets the input from the form:

[append db=3Dpages.db][!]
[/!]page_id=3D[page_id][!]
[/!]&page_name=3D[url][page_name][/url][!]
[/!]&name=3D[url][name][/url][!]
[/!][!]&description=3D[url][description][/url][/!][!]
[/!]&active=3DNo[!]
[/!]&create_time=3D[time][!]
[/!]&create_date=3D[date][!]
[/!]&create_ipaddress=3D[ipaddress][!]
[/!][/append]


[copyfile from=3Dcompanion.html&to=3D../[lowercase][page_name][/lowerca= se].html]


Like always thanks for glancing at this.


Richard

--------------------------------------------------------- This message is s= ent 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.u= s/page.dna?numero=3D55 Bug Reporting: support@webdna.us
--------------------------------------------------------- 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=3D55 Bug Reporting: support@webdna.us --_000_CWLP265MB1556E04597ACA81F7CB43E0F81980CWLP265MB1556GBRP_-- . 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)
2520 --_000_CWLP265MB1556E04597ACA81F7CB43E0F81980CWLP265MB1556GBRP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Am speculating, but is it perhaps simply related to using name, name. Test = with an alternate variable name for name? Scott From: Richard Kwasniewski Sent: 06 October 2019 15:29 To: talk@webdna.us Subject: [WebDNA] Passing a text variable via copyfile I'm creating a a new html page from a form. The user inputs a "page_name" and a "name". I need this "name" to get passe= d into the new page made by copying a template using [copyfile] I need a text variable created on this new page [text]name=3DMelissa[/text] (Melissa is the name being passed via the form in this example) Possible? This is what I'm using for the copyfile command [copyfile from=3Dtemplate.html&to=3D../[lowercase][page_name][/lowercase].h= tml] I have this in my template that is used to create the new page: [text]name=3D[name][/text] [name] gets passed just fine from the and gets written into the database. BUT the variable always is [text]name=3D[name][/text] on the new page created. This is all the code on the page that gets the input from the form: [append db=3Dpages.db][!] [/!]page_id=3D[page_id][!] [/!]&page_name=3D[url][page_name][/url][!] [/!]&name=3D[url][name][/url][!] [/!][!]&description=3D[url][description][/url][/!][!] [/!]&active=3DNo[!] [/!]&create_time=3D[time][!] [/!]&create_date=3D[date][!] [/!]&create_ipaddress=3D[ipaddress][!] [/!][/append] [copyfile from=3Dcompanion.html&to=3D../[lowercase][page_name][/lowercase].= html] Like always thanks for glancing at this. Richard --------------------------------------------------------- This message is s= ent 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.u= s/page.dna?numero=3D55 Bug Reporting: support@webdna.us --_000_CWLP265MB1556E04597ACA81F7CB43E0F81980CWLP265MB1556GBRP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Am speculating, but is it perha= ps simply related to using name, name. Test with an alternate variable name= for name?

 

Scott

 

From: Richard Kwasniewski
Sent: 06 October 2019 15:29
To: talk@webdna.us
Subject: [WebDNA] Passing a text variable via copyfile

 

I'm creating a a new html page from a form.

The user inputs a "page_name" and a "name". I need= this "name" to get passed into the new page made by copying a te= mplate using [copyfile]

I need a text variable created on this new page
[text]name=3DMelissa[/text]
(Melissa is the name being passed via the form in this example)


Possible?

This is what I'm using for the copyfile command
[copyfile from=3Dtemplate.html&to=3D../[lowercase][page_name][/low= ercase].html]

I have this in my template that is used to create the new page:
[text]name=3D[name][/text]

[name] gets passed just fine from the and gets written into the databa= se.
BUT the variable always is 
[text]name=3D[name][/text]
on the new page created.


This is all the code on the page that gets the input from the form:

[append db=3Dpages.db][!]
[/!]page_id=3D[page_id][!]
[/!]&page_name=3D[url][page_name][/url][!]
[/!]&name=3D[url][name][/url][!]
[/!][!]&description=3D[url][description][/url][/!][!]
[/!]&active=3DNo[!]
[/!]&create_time=3D[time][!]
[/!]&create_date=3D[date][!]
[/!]&create_ipaddress=3D[ipaddress][!]
[/!][/append]


[copyfile from=3Dcompanion.html&to=3D../[lowercase][page_name][/lowerca= se].html]


Like always thanks for glancing at this.


Richard

--------------------------------------------------------- This message is s= ent 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.u= s/page.dna?numero=3D55 Bug Reporting: support@webdna.us
--------------------------------------------------------- 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=3D55 Bug Reporting: support@webdna.us --_000_CWLP265MB1556E04597ACA81F7CB43E0F81980CWLP265MB1556GBRP_-- . "Scott @ Itsula"

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:

WebCatalog Help (2002) shipcost (1997) Strange Question (2003) Associative lookup style? (1997) So many lookers, hey smith micro (2003) [OT] On a side note.. (2003) RAM variables (1997) all records returned. (1997) Table code broken? (2004) WCf2 and nested tags (1997) FEA REQ: One .hdr, multiple .db's (2003) Running _every_ page through WebCat ? (1997) orderfile headers (was: 2nd Request for help/adviceonvariable pricing) (2000) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) Bad Cookie (1998) WebCatalog can't find database (1997) Banners (1997) New WebCatalog Version !!! (1997) multiGroupChecker code redundant? (2000) Uploading out of FMP (2001)