// We have to use "@" in case of "file created in the system's temporary directory" notice
$tempnam=@tempnam($tmp_path,'tmpfile__'.$prefix);
if((($tempnam===false)||($tempnam==''/*Should not be blank, but seen in the wild*/))&&(!$problem_saving)){
$tempnam=tempnam($local_path,'tmpfile__'.$prefix);// Try saving in local path even if we didn't think there'd be a problem saving into the system path
$tempnam=@tempnam($local_path,'tmpfile__'.$prefix);// Try saving in local path even if we didn't think there'd be a problem saving into the system path
}
}else{
// A fake temporary file, as true ones have been disabled on PHP