|
tempnamCreate file with unique file name Description
stringfalse tempnam(string
$directory , string $prefix )Creates a file with a unique filename, with access permission set to 0600, in the specified directory. If the directory does not exist or is not writable, tempnam may generate a file in the system's temporary directory, and return the full path to that file, including its name. Parameters
Return Values
Returns the new temporary filename (with path), or Changelog
Examples
Example #1 tempnam example
Notes
See Also
|