$formsgetFileFromKey()

Retrieve a filename from a transportable key

Usage

$bool = $forms->getFileFromKey(string $key);

Arguments

NameType(s)Description
$keystring

Must be in the format given by getFileKey

Return value

bool string

Returns boolean false on failure or full path+filename on success


$forms methods and properties

API reference based on ProcessWire core version 3.0.257

Latest news

  • ProcessWire Weekly #620
    The 620th issue of ProcessWire Weekly brings in all the latest news from the ProcessWire community. Modules, sites, and more. Read on!
    Weekly.pw / 28 March 2026
  • Handling photo heavy sites in development
    ProcessWire and photo-heavy sites go hand-in-hand. But these sites can also present development challenges, especially when cloning a large site. This post goes into detail about techniques you can use to keep lightweight development sites without all the photo/image overhead.
    Blog / 18 February 2026
  • Subscribe to weekly ProcessWire news

“Yesterday I sent the client a short documentation for their ProcessWire-powered website. Today all features already used with no questions. #cmsdoneright—Marc Hinse, Web designer/developer