Generating a filename with tempnam() : tempnam « File Directory « PHP






Generating a filename with tempnam()

 
<?php
$tempfilename = tempnam('/tmp','data-');
print "Temporary data will be stored in $tempfilename";
?>
  
  

Related examples in the same category