From: Sandro D. <sa...@e-...> - 2004-07-23 08:14:35
|
On Wed, Jul 21, 2004 at 06:29:52PM +1000, Jamie Cameron wrote: > The best solution is to use Webmin's tempname function, which will > return a filename under /tmp/.webmin suitable for use as a temporary > directory. Your code would look something like : This would solve the problem of having temp space available, not to return the space as a link, the temporary space would be out of the "DocumentRoot" of webmin. I guess the only way is to implement a function that gets from the temp space and returns it, but in this way I should hanldle the header, I should know which type of file it is... This solution in fact would give me te info when the user finished downloading (the script terminates) and I can delete the file... thanks sandro *:-) -- Sandro Dentella *:-) e-mail: sa...@e-... http://www.tksql.org TkSQL Home page - My GPL work |