Displays information about a particular file or folder.
numero = 246[fileinfo file=../Pictures/1234.gif]File Name: [filename]The following tags are available inside a [fileinfo] context:
Modified: [moddate]
Size: [size]
[/fileinfo]
| Tag | Description |
|---|---|
| [isfolder] | "T" if this item is actually a folder. "F" otherwise. |
| [isfile] | "T" if this item is actually a file. "F" otherwise. |
| [exists] | "T" if this file/folder actually exists on disk. |
| [filename] | Name of the file. |
| [fullpath] | Full path to the file. |
| [moddate] | Last date the file was modified. |
| [modtime] | Last time the file was modified. |
| [size] | the file's size, in bytes. |
| [startpath] | The folder path leading to the file. |
| [imagewidth] | If the file is a GIF or JPEG file, displays the image's width in pixels. This can be very slow for large JPEG files, because the entire file must be read into memory first. We suggest you do this only once, then store the information in a database somewhere. |
| [imageheight] | If the file is a GIF or JPEG file, displays the image's height in pixels. This can be very slow for large JPEG files, because the entire file must be read into memory first. We suggest you do this only once, then store the information in a database somewhere. |
[fileinfo file=../Pictures/1234.gif]
File Name: [filename]
Modified: [moddate]
Size: [size]
[/fileinfo]
| Tag | Description |
|---|---|
| [isfolder] | "T" if this item is actually a folder. "F" otherwise. |
| [isfile] | "T" if this item is actually a file. "F" otherwise. |
| [exists] | "T" if this file/folder actually exists on disk. |
| [filename] | Name of the file. |
| [fullpath] | Full path to the file. |
| [moddate] | Last date the file was modified. |
| [modtime] | Last time the file was modified. |
| [size] | the file's size, in bytes. |
| [startpath] | The folder path leading to the file. |
| [imagewidth] | If the file is a GIF or JPEG file, displays the image's width in pixels. This can be very slow for large JPEG files, because the entire file must be read into memory first. We suggest you do this only once, then store the information in a database somewhere. |
| [imageheight] | If the file is a GIF or JPEG file, displays the image's height in pixels. This can be very slow for large JPEG files, because the entire file must be read into memory first. We suggest you do this only once, then store the information in a database somewhere. |
DOWNLOAD WEBDNA NOW!
A list of the currently available modules...
F.A.QA compilation of some user's questions...
Download WebDNA ApplicationsWebDNA applications...
WebDNA LibrariesA list of available libraries for WebDNA...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
Replaces each found record in a database with the new field values...
[protect]...
[xslt]The [xslt] Context allows the WebDNA programmer to 'apply' an XSL style sheet to an XML document and thus 'transform' the XML data into any format the programmer desires (usually HTML)...
[countwords]The number displayed is the number of words inside the context...
[search]Use the [Search] context with [founditems] to easily retrieve records from your databases...
[table][table] allows you to quickly create a temporary 'in line' database that is local to the template and not part of the global database cache...