Create a temporary file with a unique filename in the specified directory in PHP
Description
The following code shows how to create a temporary file with a unique filename in the specified directory.
Example
<?php
echo tempnam("C:/testweb/a/a/a/a/","TMP0");
?>
The code above generates the following result.