|
Posted by Toxalot on March 25, 2008, 7:00 am
Please log in for more thread options > Toxalot wrote:
> > I haven't used perl in years. An old client just changed servers and
> > contacted me because an upload script I created no longer works.
>
> > The error message is
> > CGI open of tmpfile: No such file or directory
>
> > I've Googled this and I've tried putting the following at the top of
> > my script
> > BEGIN { $TempFile::TMPDIRECTORY = '/home/gfxprint/tmp'; }
>
> The variable name is $CGITempFile::TMPDIRECTORY
>
> If you encounter further difficulties, you may want to try the CPAN
> module CGI::UploadEasy.
>
> --
> Gunnar Hjalmarsson
> Email:http://www.gunnar.cc/cgi-bin/contact.pl
Thanks. That fixed it. Did the variable name change? I saw that
variable in more than one thread.
And why would I need to set it? Why can't it just find the directory
on its own? Does it have anything to do with /usr/tmp being a link and
not a directory?
Jennifer
|