There are actually 2 page involve in my project.The 1st page is a form that to submit the uploaded image into 2nd page based on action=\"2page.php\" and will di
You would only save the file to your database when you choose to. When uploaded, the file will be saved in your temp directory. From there you will have to tell php to move it to a real directory using move_uploaded_file().