in reply to Re: CGI Uploads, again!
in thread CGI Uploads, again!

I virtually always use strict as a matter of course. This was an exception to my usual rule, because I knew beforehand that strict would complain about using a string as a filehandle.

Also, this is only a small part of the whole application - yes, all of the permissions are set correctly.

Replies are listed 'Best First'.
Re: Re: Re: CGI Uploads, again!
by cfreak (Chaplain) on Oct 15, 2001 at 19:22 UTC
    I've gotten that error before when my HTML form wasn't set up correctly. View the source of your form after it prints and make sure the form tag has the type="multipart/form-data" in it. I know you are using CGI and its supposed to that but make sure because the errors you are describing point that direction.
      Yup. The form tag reads: enctype="multipart/form-data". Sigh.