What is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?



What is the difference between $_files['userfile']['name'] and $_files['use..

Answer / Vijay Pratap Yadav

In PHP, `$_files['userfile']['name']` contains the original name of the uploaded file, while `$_files['userfile']['tmp_name']` contains the temporary filename where the uploaded file was stored on the server.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

How a constant is defined in a php script?

1 Answers  


Which software is used to run php programs?

1 Answers  


What are super global variables in php?

1 Answers  


Do I need apache for php?

1 Answers  


Can we learn php without html?

1 Answers  


How to check a key exist in an array?

1 Answers  


How to select a database?

1 Answers  


What is php good for?

1 Answers  


How cookies are trported from browsers to servers?

1 Answers  


What is static method php?

1 Answers  


what is view?

0 Answers  


What is mean by RSS?How can i use this?

1 Answers   TCS,


Categories