Re: Problem with uploader
[email protected] (Matthew Whipple) Mon, 17 Nov 2008 12:01:16 -0500
| Newsgroups | perl.beginners.cgi |
|---|---|
| Message-ID | <[email protected]> |
> > Running it locally prints out the generated HTML and it looks right and the page does open correctly on my server but there is not file in /tmp and the mail is never sent and I don't know if it is a problem with opening the OUTFILE handle because the die command doesn't kick in from what I can see. > The die message would most likely be written into the server's log. A quick fix to more easily get the error messages would be using CGI::Carp, a "use CGI::Carp qw(fatalsToBrowser)" should show you the error on the page.