Include the contents of the specified file.
numero = 247normally all file paths are relative to the local template, or if they begin with "/" they are relative to the web server's virtual host root.
| Optional Parameters | Description |
|---|---|
| [INCLUDE file=FilePath&raw=T] | raw=T means the file should be included unchanged, without performing any [xxx] substitutions. |
| [INCLUDE file=FilePath&fromCache=F] | fromCache=F means a more-recent version of the file should be read from disk, instead of using the cached version in RAM. |
| [INCLUDE file=FilePath&var1=xx&var2=yy] | Passes any variable names (and their values) you choose into the included template, which can then use [var1] anywhere inside it. |
Do not use &raw=T and &fromCache=F togetherExample: [include file=page.inc&raw=T&fromCache=F]
normally all file paths are relative to the local template, or if they begin with "/" they are relative to the web server's virtual host root.
| Optional Parameters | Description |
|---|---|
| [INCLUDE file=FilePath&raw=T] | raw=T means the file should be included unchanged, without performing any [xxx] substitutions. |
| [INCLUDE file=FilePath&fromCache=F] | fromCache=F means a more-recent version of the file should be read from disk, instead of using the cached version in RAM. |
| [INCLUDE file=FilePath&var1=xx&var2=yy] | Passes any variable names (and their values) you choose into the included template, which can then use [var1] anywhere inside it. |
Do not use &raw=T and &fromCache=F together
Example: [include file=page.inc&raw=T&fromCache=F]
DOWNLOAD WEBDNA NOW!
This Technical Change History provides a reverse chronological list of WebDNA changes...
F.A.QA compilation of some user's questions...
Tips and TricksA list of user-submitted tips ...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
WebDNA LibrariesA list of available libraries for WebDNA...
Download WebDNA ApplicationsWebDNA applications...
Modify an existing line item in an order file...
[listwords]Breaks a string of text into separate words...
[object]Embeds the results of an external function...
[sendmail]There is hardly a website that doesn't at some point need to send an email...
[countchars]Counts the number of letters inside the context...
[if]This context displays HTML or executes WebDNA conditionally only if the expression is true...