I wrote a script that did something similar in college, but couldn't tell you the exact problem offhand. You have the basic premise right. I would look at CGI::Carp and then you can truly tell where it bombs. Also drop use strict and use warnings in the top of your script.. will help keep you from making simple typographical errors, and warn you of potential misbehavior
Also, yes if you are running apache, the upload directory needs to be writable by the apache userid. I setup a usergroup for apache and the host user (where the page was located... say /home/grygonos/public_html/ and marked it 770 or 775 .. like I said its been a few years, but there are permission issues to be aware of yes.
In reply to Re: Problems uploading file
by Grygonos
in thread Problems uploading file
by cranberry13
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |