I get back the following results:
the temp filename is /projects/uploads/images/phpiS4THL
the original name is Consulting1.htm
and the size is: 12644
but there's no file in /projects/uploads/images/. I can create a new file in this dir as the user the web server is running under, so i don't think it's permissions. The file doesn't exists ANYWHERE on the web server, either.
Anyone have an idea what could be wrong?
<head><title>Upload</title></head>
<body>
<form method="post" action="uploadFile.html" enctype="multipart/form-data">
<input type="file" name="upload[]">
<input type="file" name="upload[]">
<input type="file" name="upload[]">
<input type="file" name="upload[]">
<input type="submit" name="submit" value="Upload Files">
<form>
<p>
<?
$elements = count($upload_name) ;
for ($x = 0; $x<$elements; $x++)
{
if ($upload[$x] != "none")
{
echo " the temp filename is $upload[$x]<br>
the original name is $upload_name[$x] <br>
and the size is: $upload_size[$x]<hr>" ;
}
}
?>