[WebDNA] REPLACE INCLUDE FILE

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114699
interpreted = N
texte = 2321 --000000000000db6f760590f22efe Content-Type: text/plain; charset="UTF-8" How can we REPLACE contents in a text file? OPTION 1:
OPTION 2: [table name=filesort&fields=filename][!] [/!][listfiles path=SUBFOLDER/] [filename] [/listfiles][/table]
--000000000000db6f760590f22efe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
How can we REPLACE contents in a text file?

OPTION 1:
<form method=3D"POST" action=3D&q= uot;xx.tpl">
<input type=3D"hidden" name=3D"co= mmand" value=3D"Replace">
<input type=3D"hidde= n" name=3D"template" value=3D"xx.tpl">
<i= nput type=3D"hidden" name=3D"FILE" value=3D"SUBFOL= DER/SOMEFILE.TXT">
<TEXTAREA name=3D"SOMEFILE.TXT"&= gt;
Line 1 text
Line 2 text
</TEXTAREA>
<input type=3D= "submit">
</form>


OPTION 2:

[table= name=3Dfilesort&fields=3Dfilename][!]
[/!][listfiles path=3DSUBFOLD= ER/]
[filename]
[/listfiles][/table]


<form method=3D&qu= ot;POST" action=3D"xx.tpl">
<input type=3D"hid= den" name=3D"command" value=3D"Replace">
<= ;input type=3D"hidden" name=3D"template" value=3D"= xx.tpl">
<input type=3D"hidden" name=3D"TABLE&= quot; value=3D"FILESORT">
<input name=3D"eqFILENAME= data" value=3D"SOMEFILE.TXT">
<TEXTAREA>
blah= ...blah
</TEXTAREA>
</form>
--------------------------------------------------------- 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 --000000000000db6f760590f22efe-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] REPLACE INCLUDE FILE (Michael Davis 2019)
  2. RE: [WebDNA] REPLACE INCLUDE FILE ("Terry Nair" 2019)
  3. Re: [WebDNA] REPLACE INCLUDE FILE (Stuart Tremain 2019)
  4. [WebDNA] REPLACE INCLUDE FILE (Jess Villamor 2019)
2321 --000000000000db6f760590f22efe Content-Type: text/plain; charset="UTF-8" How can we REPLACE contents in a text file? OPTION 1:
OPTION 2: [table name=filesort&fields=filename][!] [/!][listfiles path=SUBFOLDER/] [filename] [/listfiles][/table]
--000000000000db6f760590f22efe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
How can we REPLACE contents in a text file?

OPTION 1:
<form method=3D"POST" action=3D&q= uot;xx.tpl">
<input type=3D"hidden" name=3D"co= mmand" value=3D"Replace">
<input type=3D"hidde= n" name=3D"template" value=3D"xx.tpl">
<i= nput type=3D"hidden" name=3D"FILE" value=3D"SUBFOL= DER/SOMEFILE.TXT">
<TEXTAREA name=3D"SOMEFILE.TXT"&= gt;
Line 1 text
Line 2 text
</TEXTAREA>
<input type=3D= "submit">
</form>


OPTION 2:

[table= name=3Dfilesort&fields=3Dfilename][!]
[/!][listfiles path=3DSUBFOLD= ER/]
[filename]
[/listfiles][/table]


<form method=3D&qu= ot;POST" action=3D"xx.tpl">
<input type=3D"hid= den" name=3D"command" value=3D"Replace">
<= ;input type=3D"hidden" name=3D"template" value=3D"= xx.tpl">
<input type=3D"hidden" name=3D"TABLE&= quot; value=3D"FILESORT">
<input name=3D"eqFILENAME= data" value=3D"SOMEFILE.TXT">
<TEXTAREA>
blah= ...blah
</TEXTAREA>
</form>
--------------------------------------------------------- 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 --000000000000db6f760590f22efe-- . Jess Villamor

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:

WC2.0 Memory Requirements (1997) ATTN:SMITH MICRO (2001) Forms to db's and back (was Displaying text and (2005) Re[3]: 2nd WebCatalog2 Feature Request (1996) Help getting [shownext] to increment (2003) totals (1997) For those of you not on the WebCatalog Beta... (1997) Random ads (1998) WebCat2 - [format thousands] (1997) Find all in search. (2002) Country & Ship-to address & other fields ? (1997) Dummy Credit Card Number for debug? (1997) [WriteFile] problems (1997) 2.0.1 new commands and contexts (1997) [WebDNA] Anyone using WebDNA7 and Lion Server? (2011) Running _every_ page through WebCat-error.html (1997) Old Topic - [OT] - server speeds. (2002) WebDNA Threaded Discussions? (2004) carriage returns in data (1997) (1997)