Cloud Stack Ninja

Hi I tried to search online but really could not find it. So what is the difference between $_FILES['file']['name'] and $_FILES['file']['tmp_name'], or what is the $_FILES['file']['tmp_name'] exactly?

According to,

$_FILES['userfile']['name'] The original name of the file on the client machine.

$_FILES['userfile']['tmp_name'] The temporary filename of the file in which the uploaded file was stored on the server.

So what is the difference between the temporary filename and original filename?

Thank you

Read more here:

Content Attribution

This content was originally published by James Chen at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: