tempnam

 string tempnam ( string $dir , 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, tempnam() may generate a file in the system's temporary directory, and return the name of that.

戻り値

Returns the new temporary filename, or FALSE on failure.