> How do I determine the file handle in your upload example?
> Where would I put this command in the example?
>
[- if (defined $fdat{ImageName}) {
open FILE, "> /tmp/file.$$";
binmode FILE ;
print FILE $buffer
while read($fdat{ImageName}, $buffer, 32768);
> I wasn't aware there was a binmode. How do you turn this on? Is
> this something from Perl or EmbPerl?
>
It's a standart Perl command. Look at
perldoc -f binmode
Gerald
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
> I'm using Randy Kobes' precompiled Apache distribution containing
> the following:
>
> Embperl 1.3b3/Windows NT 4.0/Apache 1.3.12/ModPerl 1.23/Perl
> 5.6.0
>
> When I use the Embperl upload example, files are getting somehow
> corrupted. The file size is not the same as the original and the fi