View Source:
Help/FileInfoPlugin
Note:
This page has been locked and cannot be edited.
The **~FileInfo** [[Help:WikiPlugin|plugin]] displays the version, date, size, perms of an uploaded file. Only files relative and below to the uploads path can be handled. For exe files the **version** argument might work to display the VERSIONINFO ressource string. (highly experimental). == Typical Usage == {{{ <<FileInfo file=uploads/setup.exe display=version,date>> <<FileInfo file=uploads/setup.exe display=name,version,date format="%s (version: %s, date: %s)">> }}} == Arguments == {| class="bordered" |- ! Argument ! Description ! Default value |- | **file** | Relative path from PHPWIKI_DIR. | //None// (required argument) |- | **display** | Comma-separated string of version, size, phonysize, date, mtime, owner, name, path, dirname, link, mime-typ, magic. | //None// (required argument) |- | **format** | printf format string with %s only, all display modes from above vars return strings | (optional) |- | **quiet** | print no error if file not found | false |} == Examples == This wiki was installed at <<FileInfo file=config/config.ini display=date>>. <noinclude> ---- [[PhpWikiDocumentation]] [[CategoryWikiPlugin]] </noinclude>
Please enable JavaScript to view the
comments powered by Disqus.
HollenbackDotNet
Home Page
Popular Pages
All Categories
Main Categories
General Interest
Geek Stuff
DevOps
Linux Stuff
Pictures
Search
Toolbox
RecentChanges
RecentNewPages
What links here
Printable version
AllPages
RecentChanges
Recent Changes Cached
HomePage
Favorite Categories
ActionPage
(150)
WikiPlugin
(149)
GeekStuff
(137)
PhpWikiAdministration
(102)
Help/PageList
(75)
Help/MagicPhpWikiURLs
(75)
Blog
(69)
Pictures
(60)
GeneralInterest
(44)
LinuxStuff
(38)
Views
View Page
View Source
History
Diff
Sign In