How to store the files in session variables so that i can use those sessions in next step of form wizard? like this
$_SESSION['fileupload']=$_FILES['fileupload'];
How to store the files in session variables so that i can use those sessions in next step of form wizard? like this
$_SESSION['fileupload']=$_FILES['fileupload'];
Store the file on the server when you upload it, then in the session store the filename/path which will allow you to use the file on the next step of your wizard.
Storing the file contents in a session is pointless and will drain resources on the server.