Quickie...
Is there a way to retrieve the path of a file created by tmpfile()?
tmpfile()
Or do I need to do it myself with tempnam()?
tempnam()
It seems stream_get_meta_data() also works :
$tmpHandle = tmpfile(); $metaDatas = stream_get_meta_data($tmpHandle); $tmpFilename = $metaDatas['uri']; fclose($tmpHandle);