Jerry Kassebaum wrote:
> Bill et. al.,
> 
> This is a little embarrasing. Bill, you helped me with a similar problem 
> back in December, but I never quite got it. Below is the code you gave me. 
> But when I browse to a file and submit, I get the error: "Software error: 
> CGI open of tmpfile: Permission denied".
> 
> About 10 lines down is the line 'my $tmpdir = $ENV{TEMP} || "C:/temp";"' Can 
> the C:/temp" part be the problem? I upload the cgi file to my linux server.
> 
> Or do I need to get the people at my server to set permissions somehow?
> 
> The code below is at http://biblescramble.com/dns/textAreaLuebkert.cgi.
>
> # place to store files - change me if you like
> 
> my $tmpdir = $ENV{TEMP} || "C:/temp";

You probably want /tmp on UNIX's.  C:/temp is for Windoze.

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to