Re: Read and Write
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 39075
interpreted = N
texte = Velma Kahn:>Suppose I have a table with two fields, an input filename (which is a URL >to a tpl file), and an output filename (which is a URL to an htm file). I >know how to do a search, and a founditems loop. Within that founditems >loop, what would the code look like to read the input file (processing it >through WebCatalog, but hopefully not displaying it), and write the output >file with [writefile]? Perhaps a line of sample code would make a >lightbulb go off here. :)Sam Lewis:>Velma,>>Try this:>>[writefile file=[htmlFile]&secure=f][include file=[tplfile]][/writefile]>>Does that help?Yes! Thank you!Velma Kahnvelma@swva.net, 540-745-6469-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Velma Kahn:>Suppose I have a table with two fields, an input filename (which is a URL >to a tpl file), and an output filename (which is a URL to an htm file). I >know how to do a search, and a founditems loop. Within that founditems >loop, what would the code look like to read the input file (processing it >through WebCatalog, but hopefully not displaying it), and write the output >file with [writefile]? Perhaps a line of sample code would make a >lightbulb go off here. :)Sam Lewis:>Velma,>>Try this:>>[writefile file=[htmlFile]&secure=f][include file=[tplfile]][/writefile]>>Does that help?Yes! Thank you!Velma Kahnvelma@swva.net, 540-745-6469-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Velma Kahn
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:
WebCat b13 CGI -shownext- (1997)
Suggestions for Topics to be covered in an Advanced (1998)
EIMS Problems (1997)
listfile options (1997)
E-mail/Invoice (1998)
paymethod=cc allows all zeros (1999)
Snake Bites (1997)
mem leak: webcat (2001)
Webcatalog-firesite and [referrer] tag (1997)
Sending an email to all )or some) email addresses int he database (1999)
OFF-TOPIC...list serve software for newsletter? (1998)
URGENT! Locked DB's (2001)
comparison to Lasso 6 or 7 (2004)
Multiple transactions per cart (2000)
Using [purchase] (1998)
Duplicate Cart ID (2001)
Secure server question (1997)
[BULK] [WebDNA] Authorize.net SIM, Server Integration Method (2011)
Sort Order on a page search (1997)
using showpage and showcart commands (1996)