PHP - how to temporary safe image and later save permanently
Asked By Olusegun A. on 06-Oct-10 10:18 PM
I have a form where people upload images and other information. Once the person finished filling the form a PREVIEW PAGE will come to show the information filled in the form. The problem is that i don't know how to temporarily save the uploaded image and use session to carry it to the PREVIEW PAGE in order to preview it with other information and also how to same it permanently if the person clicks submit or delete it if the person clicks EDIT.
I need your assistance.
Peter Bromberg replied to Olusegun A. on 07-Oct-10 10:31 AM
The easiest way to do this is to save the image, period. If it needs to be deleted for any reason, you just delete it.