in reply to File Upload

I do not see in your code where you are opening the file referenced by $attachfile. Could that be the problem?

davidj

Replies are listed 'Best First'.
Re^2: File Upload
by Grygonos (Chaplain) on Jul 13, 2004 at 19:51 UTC
    I'd run this with strict and check the permissions on Apache.
Re^2: File Upload
by rsiedl (Friar) on Jul 13, 2004 at 19:53 UTC
    ah sorry. I modified the code to make it simpler for my posting and missed that reference.
    $code =~ s/attachfile/filename/g