Download file

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
S_henry
Forum Contributor
Posts: 148
Joined: Sun Jan 25, 2004 10:25 pm
Location: M'sia

Download file

Post by S_henry »

hello guys..I've made 1 page to upload file (e.g. powerpoint or doc file) and it work. I upload that file into 1 folder (called 'upload'). In another page I've display a list of the uploaded file. Then I want to download that file with just click at the file's name in the list. The problem is how do I make it (download part)? Thanx..
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

Um..give a link to the file and click on it?
S_henry
Forum Contributor
Posts: 148
Joined: Sun Jan 25, 2004 10:25 pm
Location: M'sia

Download file

Post by S_henry »

just simply give a link? This way can use to download many type of files (eg. .ppt, .doc, ...) or just for web file?
S_henry
Forum Contributor
Posts: 148
Joined: Sun Jan 25, 2004 10:25 pm
Location: M'sia

Download file

Post by S_henry »

I didn't expect there was so simple like that. Thanx...
Post Reply