in reply to CGI: Uploaded binary file is corrupted
The way to debug the problem is check that the file is valid at various stages of process. Check the file before upload, check the temporary file, check the contents read into memory, check the value in the database.read $fh, $contents, $length; $/ = undef; $contents = <$fh>;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: CGI: Uploaded binary file is corrupted
by neilwatson (Priest) on Oct 30, 2002 at 18:15 UTC |