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
Explain mail function in PHP with syntax?
What are the __construct() and __destruct() methods in a php class?
How can you compare objects in php?
How to create a session? How to set a value in session? How to remove data from a session?
When do you use define() and when do you use const. What are the main differences between those two?
How to write php function in html onclick?
What does $_server mean?
What are the correct and the most two common way to start and finish a PHP block of code?
How can we set and destroy the cookie in php?
What are the functions for imap?
What is the purpose of a query?
What is the difference between implode() and explode() in php?
What is session expiry?
What type of headers have to be added in the mail function to attach a file?
What are the data types in php?