tempnam
PHP -> Funkcie -> Súborové funkcie PHP -> funkcia tempnam
Syntax
string tempnam(string dir, string prefix);
Popis
Príkaz jazyka PHP
tempnam - create unique file name
Creates a unique temporary filename in the specified directory. If the directory does not exist, tempnam may generate a filename in the system’s temporary directory.
Returns the new temporary filename, or the null string on failure.
Príklad
$tmpfname = tempnam("/tmp", "FOO");