[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:

[WebDNA] Here's how you can help (2008) Silence before the storm? (2004) FAX orders (1996) [OT] Mime Headers / Meta-Tags (2003) OT: [WAY IN RIGHT FIELD SOMEWHERE] Spam Filters (2005) FAX orders (1996) emailer don't work (1998) Date Math broken on Mac OS X 10.4? (2007) Cart Creation (2003) [HIDEIF] inside [FOUNDITEM] (1997) help with duplicate records posted (1998) Spamming this list! (2000) Database (1999) Emailer Timing out (1999) FYI: virus alert (1996) New Command prefs ... (1997) Viewing old carts (was FEW QUESTIONS) (1997) re:check boxes (1997) Getting total number of items ordered (1997) AOL and referrers on target=_blank (2000)