[cvs] commit: horde/docs CHANGES horde/lib Horde.php

Jon Parise jon@csh.rit.edu
Sat, 14 Apr 2001 13:58:30 -0400


On Sat, Apr 14, 2001 at 05:54:24PM -0000, avsm@horde.org wrote:

>   Add some temporary file handling routines -
>   
>   Horde::getTempDir() determines the system temp dir from upload_tmp_dir.
>   TMPDIR envvar, or as a last resort by cycling through predefined values
>   to see if they exist.
>   
>   Horde::getTempFile() returns a temporary filename which is also registered
>   with _fileCleanup to be unlinked at the end of the request.
   
Good solution.  I'm glad someone found the time to address that
problem programmatically.

-- 
Jon Parise (jon@csh.rit.edu)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member