in reply to CGI Uploading Trouble

Am I just being thick, or is your server-side script closing a filehandle that isn't mentioned anywhere else at all? (LOG). There isn't a line 19, but line 17 or so would be an uninitialized value, if that really is the whole of the script...