Menu
Greetings! I have a simple html file upload form. On the action page I try to get the name and tmp_name for the uploaded file. The name shows up but not the tmp_name. Here is my latest try. I tried using different codes to get the tmp_name.
$userfile=$_FILES[‘userfile’][‘name’];
$tempfile=$
$temp2=$HTTP_POST_FILES[‘userfile’][‘tmp_name’];
echo “Userfile: $userfile<br>Tempfile: $tempfile<br>temp2: $temp2<br><hr>”;
I can’t copy this file if I can’t get the tmp name. Any ideas?