Hi friends
In my program i upload successfully file to my specified folder now i want to fetch that file that file is in .doc format
And i want that a link is given to user for that word file and he can see that file by click on it directly or by download it whatever is possible.
Help me
Txnx in advance
Upload and then Fetch
Moderator: General Moderators
You can just link to the file in HTML, if you're doing it from a web page. If you want to do it via a PHP script, you can use the "readfile" command:
Code: Select all
readfile("/path/to/document.doc");
flush();