I've got a form which allows you to upload an image file.
You specify the file and click add, this will submit to a php script that renames and moves the file - stores it.
What i'd like to also have on this form is a "preview" button which will pop up a new window displaying the uploaded image but without storing it so that if the user decides to change the image is not uploaded.
Since the file is there in some sort of temp directory? php should be able to display it right?