regarding file uploads, I have a form through which I upload a file, I get $temp_name = $_FILES['name']['temp_name']and save it in a variable.
Can I use this variable again inside move_uploaded_file("$temp_name","$location")inside another form.
Will this work?
When we upload the file, a temporary location is created on the server. How long can a temporary file be used?
Thank.
source
share