Hi !
I have the following problem.
I have written a webmail application. Now , I am at the file attach decoding.
I want to put the files in /tmp.
I use tempnam() function.
When I do <A HREF=$tempname> , I don't have the extension and the name to pass to the browser , so , it doesn't know how to handle the file.
For example : I decoded file.xls. It is in the /tmp directory as file53845. I do :
<A HREF="file53845">file.xls</A>.
But the browser cannot get the right filename(file) and extension (.xls).
Please help.
With best regards , Alex.