How to upload a file (may be a .txt or a .doc file) from a
php script/file?



How to upload a file (may be a .txt or a .doc file) from a php script/file?..

Answer / guest_shah

u can use move_uploaded_file function.
search for this function in google.
u will get best eg.

Is This Answer Correct ?    10 Yes 4 No

Post New Answer

More PHP Interview Questions

what is the abbrevation of PHP?

22 Answers   IBM,


Do you know is it possible to extend the execution time of a php script?

0 Answers  


Do you know what does $globals means?

0 Answers  


What is happening in the following code $objA = new A(); // A is a class $objB = $objA;

3 Answers   NIIT,


How I use global variable in another page without using $_GET method?

9 Answers  






How to get a total number of elements used in the array?

0 Answers  


What is variable declaration?

0 Answers  


What is the Default syntax used in PHP?

0 Answers  


How is the ternary conditional operator used in php?

0 Answers  


Give any ten basic functions in PHP?

4 Answers   T3 Softwares,


What is the difference between super () and this ()?

0 Answers  


List types of array are available in php?

0 Answers  


Categories