I'm using Apache::ASP-script that was taken from
http://www.nodeworks.com/asp/eg/file_upload.asp to upload an image to the
server.
the server configured as front-end (mod_proxy) + backend (mod_perl) server,
Uploader script is processed on backend server.

here is the code:

        if (open OUT, ">$destfile") {
           while (<$filehandle>) { print OUT $_; }
           close OUT;

but after upgrading from Apache 1.3.9 to 1.3.11 ()
something goes wrong :(

on 1.3.9 there was only ONE error - if I tried to upload my own photo the
server responsed as 500 (internal error)... I don't know nothing special
about it - ordinal jpeg-file...

but now (on 1.3.11) I can't upload ANY image... :(
actually - the file uploads, but it isn't an image - all 0x00 becames
0x20...

I tried to change code to use syswrite, but output was the same - 0x20
against 0x00...

any suggestions?



Reply via email to