in reply to Uploading Multiple Photos and Resizing before saving Help!

You really need to tell us what part you cant get to work. Problems with uploading? Problems with resizing? Are there error messages? What else can you tell us?

Here's one part you can fix:

foreach (@inx) { delete @inx[$ac] if $_ =~ /^Content-Type: application\/octet-stream +/; $ac++; }

delete is intended to operate on hashes (or slices thereof). Note the documentation: "Be aware that calling delete on array values is deprecated and likely to be removed in a future version of Perl.". That piece of code could be written like:

@inx = grep { $_ !~ /.../ } @inx;

-- Ken

Replies are listed 'Best First'.
Re^2: Uploading Multiple Photos and Resizing before saving Help!
by Anonymous Monk on Nov 16, 2010 at 03:06 UTC
    Upload works, resizing the images is where the issue is. I need the photos resized from lets say 1600X1200 resized to 180x168 before they can get to its final destination/directory.
      There is no possible way upload works as you're attempting to do the job of the CGI module.