Dear All
I have a piece of code
$systemDir = "/usr/local/apache/htdocs";
$outDir ="/upload/files";
$createDir = $systemDir.$outDir;
$outName = "merge3.xls";
$fname = tempnam($createDir, $outName);
When run this produces file with the name merge3.xlsXXXXX where XXXXX is a random(?) string ie merge3.xlsqBliYC
Any ideas why this is happening? I can find no reference to anything in the manual.