in reply to A Wayward Variable

Can you tell me what happens if you put a print(">>$originalImage<<\n"); after the line my $originalImage = $query->param("Image");?

What should you do if param("Image") equals, say 'My-Picture' instead of 'My-Picture.jpg'?

----
I Go Back to Sleep, Now.

OGB

Replies are listed 'Best First'.
Re^2: A Wayward Variable
by kalchas (Acolyte) on Mar 26, 2008 at 18:51 UTC
    Thanks for the reply. I got things sorted out by removing the braces. The point you raise is a good one, though. I'll be sure to review and make sure my users are inputting only good file types.