in reply to Problems with 'image upload'
Should be something like this:my $img = &FileUpload($in{idd}); open(MAKE,">$imagedir/$id.gif") or die("Could not save $id.gif"); print MAKE $img; close(MAKE);
my $img = &FileUpload($in{idd}); open(MAKE,">$imagedir/$id.gif") or die("Could not save $id.gif"); binmode MAKE; print MAKE while <$img>; close(MAKE);
|
|---|