Writes text to the end of an existing file.
numero = 254AppendFile does not 'understand' databases. If you want to append a new record to the end of a database, use [append] instead.
Example:[appendfile SomeTextFile]Hello, my name is Grant. The time is [time]This is a second line[/appendfile]The text file "SomeTextFile" opens, and the textHello, my name is Grant. The time is 13:43:01This is a second lineis written at the end of the file. Notice that carriage returns inside the context are written to the file exactly as they appear. Also notice that any WebDNA [xxx] tags inside the context are substituted for their real values before being written to the file. You may specify a full or partial path to the file, as in "/Some Folder/file.txt" (starting from the web server's root) or "LocalFolder/file.txt" (starting in the same folder as the template file, looking down into a folder called "LocalFolder").
If you want the tags inside the context to be interpreted, you will have to add <!-- HAS_WEBDNA_TAGS --> and make use of the [raw] context.
[appendfile FileName]Text[/appendfile]AppendFile does not 'understand' databases. If you want to append a new record to the end of a database, use [append] instead.
[appendfile SomeTextFile]Hello, my name is Grant. The time is [time]
This is a second line[/appendfile]
If you want the tags inside the context to be interpreted, you will have to add <!-- HAS_WEBDNA_TAGS --> and make use of the [raw] context.
DOWNLOAD WEBDNA NOW!
WebDNA applications...
WebDNA ModulesA list of the currently available modules...
F.A.QA compilation of some user's questions...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
WebDNA LibrariesA list of available libraries for WebDNA...
[biotype]BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...
Deletes a folder from your website...
[input][url]...
[ipaddress]Displays the ip address of the remote computer...
[listvariables]Lists all the text and/or math variables which have been set earlier on a page...
[SQLdisconnect]...
[if]This context displays HTML or executes WebDNA conditionally only if the expression is true...