i have this scenario:
The user enters the web, complete some standard text inputs and select a file from an "input type=file".
When the OK button is clicked i run some ajax checks and if success the form is submitted and show some other divs with parsed data and a "confirm action" button.
I want to upload the file to the server with php if the user clicks the "confirm action".
I honestly have no good ideas on how to do that... maybe save the $_FILES into a session but i read its a really bad idea.
What do you recommend?