FindPage
View Source:
Help/FileInfoPlugin
!! Synopsis The [FileInfo|Help:FileInfoPlugin] 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). Since v1.3.13. !! Typical Usage <verbatim> <?plugin FileInfo file=uploads/setup.exe display=version,date ?> <?plugin FileInfo file=uploads/setup.exe display=name,version,date format="%s (version: %s, date: %s)" ?> </verbatim> !! Arguments __file__: relative path from PHPWIKI_DIR. (required) __display__: Comma-seperated string of version,size,phonysize,date,mtime,owner,name,path,dirname, link,mime-typ,magic. (required) __format__: printf format string with %s only, all display modes from above vars return strings (optional) !! Examples This wiki was installed at <?plugin FileInfo file=config/config.ini display=date ?>. ---- PhpWikiDocumentation Help:WikiPlugin