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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is return value in php?

520


What is the use of namespace in php?

555


How to run the interactive php shell from the command line interface?

533


How we can retrieve the data in the result set of mysql using php?

529


Which php framework is in demand?

459






What is str_replace()?

545


Write a statement to show the joining of multiple comparisons in php?

536


What does the initials of php stand for?

537


What is the use of get and post method in php?

543


What is php's mysqli extension?

569


Is age interval or ordinal data?

531


What is the purpose of the following files having extensions: frm, myd, and myi? What these files contain?

511


What is strlen php?

545


Is variable name casesensitive in php?

554


What type of headers that PHP supports?

622