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:
WebDNA 6.0 & MAC OS X Server 10.4.10 (2007)
Director 7 (1999)
WebCat2 several catalogs? (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Part Html part WebDNA (1997)
Separate SSL Server (1997)
Rollovers (1999)
WebDNA Book? (2003)
Updating product information (2002)
Date sorting (1997)
Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997)
SSL, WebSTAR, WebCatalog (1998)
WebCat2 - [SendNews] (1997)
UPS charges (2000)
Nested vs conditional (1997)
[WebDNA] Can webDNA be forced to be able to read ANY file in ANY (2018)
creating a 60 fields database (1997)
IIS4 & Password Authentication, request example (1998)
Sort Order on a page search (1997)
Price problem (1997)