How can we upload a file in php?
Answer / Prabhanjan Kumar
{"upload": "In PHP, you can upload files using the $_FILES superglobal array and the 'move_uploaded_file' function. Here's an example: if (isset($_FILES['file'])) { move_uploaded_file($_FILES['file']['tmp_name'], 'filename'); }"}
| Is This Answer Correct ? | 0 Yes | 0 No |
display selected value in dropdown list through javascript without page refresh
Who is the father of PHP and explain the changes in PHP versions?
15 Answers ADISoft Tech, Genpact, PropTiger, TWA,
Which php framework is in demand?
What is the use of mvc in php?
What is array and function?
Explain mysql_errno()?
what is session_set_save_handler in PHP?
What is foreach loop in php?
How is a constant defined in a PHP script?
How to genrate report in wordpress cms
Is set in php?
What is php and why we use it?