Directorio TEMP de PHP

<?php
//To get the name of the temp directory use the below
sys_get_temp_dir(); // outputs the temp directory's name ..
// To create a temporary file in the 
// temporary files directory using sys_get_temp_dir()
$temp_file = tempnam(sys_get_temp_dir(), 'Tux');
echo $temp_file;
?>
Outstanding Lioncatcher