RE: [WebDNA] REPLACE INCLUDE FILE

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114701
interpreted = N
texte = 2323 Also ...stop using command in form input ...use [xxx] within template itself. I think the command option in form is depreciated (I could be worng) but I am certain the more secured option is to use [tag] option within tempates. Cheers TDn -----Original Message----- From: Stuart Tremain Sent: Monday, August 26, 2019 05:46 AM To: talk@webdna.us Subject: Re: [WebDNA] REPLACE INCLUDE FILE Probably better just over writing the file. Regards Stuart Tremain Pharoah Lane Software 7/76 Reserve Road Artarmon NSW 2064 AUSTRALIA +612 8971 4431 > On 26 Aug 2019, at 12:51 am, Jess Villamor wrote: > > How can we REPLACE contents in a text file? > > OPTION 1: >
> type="hidden" name="template" value="xx.tpl"> name="FILE" value="SUBFOLDER/SOMEFILE.TXT"> type="submit">
> > > OPTION 2: > > [table name=filesort&fields=filename][!] [/!][listfiles > path=SUBFOLDER/] [filename] [/listfiles][/table] > > >
> > > > > >
> --------------------------------------------------------- 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 --------------------------------------------------------- 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 --------------------------------------------------------- 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] REPLACE INCLUDE FILE (Michael Davis 2019)
  2. RE: [WebDNA] REPLACE INCLUDE FILE ("Terry Nair" 2019)
  3. Re: [WebDNA] REPLACE INCLUDE FILE (Stuart Tremain 2019)
2323 Also ...stop using command in form input ...use [xxx] within template itself. I think the command option in form is depreciated (I could be worng) but I am certain the more secured option is to use [tag] option within tempates. Cheers TDn -----Original Message----- From: Stuart Tremain Sent: Monday, August 26, 2019 05:46 AM To: talk@webdna.us Subject: Re: [WebDNA] REPLACE INCLUDE FILE Probably better just over writing the file. Regards Stuart Tremain Pharoah Lane Software 7/76 Reserve Road Artarmon NSW 2064 AUSTRALIA +612 8971 4431 > On 26 Aug 2019, at 12:51 am, Jess Villamor wrote: > > How can we REPLACE contents in a text file? > > OPTION 1: >
> type="hidden" name="template" value="xx.tpl"> name="FILE" value="SUBFOLDER/SOMEFILE.TXT"> type="submit">
> > > OPTION 2: > > [table name=filesort&fields=filename][!] [/!][listfiles > path=SUBFOLDER/] [filename] [/listfiles][/table] > > >
> > > > > >
> --------------------------------------------------------- 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 --------------------------------------------------------- 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 --------------------------------------------------------- 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 . "Terry Nair"

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:

A Show of Hands - Count WebCat Developers (2002) Appending with +1 ... (1997) SOP for WebDNA talk - MSNBot Crashing (2004) [WebDNA] WebDNA 7 fastcgi fails to start (2011) Roundup function? (1997) Random Command (1997) Database of Tax Rates? (1997) Problem Transferring Variable Values (1998) Database Options (1997) WebCat b13 CGI -shownext- (1997) Multiple Newcarts (1996) Which GUI HTML editors work with WC ? (1997) RE: File Uploads (1998) Database Path (1998) RE: Problems reading files created by WC (1997) Hiding Email Addresses (2003) Help with nested search (1998) docs for WebCatalog2 (1997) problems with 2 tags (1997) Showif, Hideif reverse logic ? (1997)