in reply to CGI open of tmpfile
If you have your temp dir on an unordinary place, just do this:
Or edit your CGI.pm in the right place:BEGIN { $TempFile::TMPDIRECTORY = '/mytmp' } use CGI;
# HARD-CODED LOCATION FOR FILE UPLOAD TEMPORARY FILES. # UNCOMMENT THIS ONLY IF YOU KNOW WHAT YOU'RE DOING. # $TempFile::TMPDIRECTORY = '/usr/tmp';
--
tune
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: CGI open of tmpfile
by rdfield (Priest) on Oct 22, 2002 at 13:15 UTC | |
by tune (Curate) on Oct 22, 2002 at 17:29 UTC | |
by rdfield (Priest) on Oct 22, 2002 at 18:38 UTC |
In Section
Seekers of Perl Wisdom