What is the best way to let user download multiple files?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

User avatar
hinkeltje
New php-forum User
New php-forum User
Posts: 15
Joined: Thu Aug 25, 2011 10:51 pm

What is the best way to let user download multiple files?

Postby hinkeltje » Thu Oct 25, 2012 6:43 am

Ok, I have a environment where different users in different usergroups are uploading there training results.
Now I have the trainer, and he wants to download all the results per group at once, not file per file.

So if there are 10 users in a usergroup and they all have uploaded there training results, the trainer wants to press one button preferably to download all 10 documents.

I have been thinking and browsing for about an hour but I can't seem te set my mind to the right solution.
Can someone please help me what the best way is to programm this?

Thanks

User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: What is the best way to let user download multiple files

Postby egami » Thu Oct 25, 2012 7:58 am

write a routine to zip up the files and download it.

User avatar
hinkeltje
New php-forum User
New php-forum User
Posts: 15
Joined: Thu Aug 25, 2011 10:51 pm

Re: What is the best way to let user download multiple files

Postby hinkeltje » Thu Oct 25, 2012 10:58 pm

And have you any idea how to do this?

tkdbb84
New php-forum User
New php-forum User
Posts: 137
Joined: Tue Mar 08, 2011 9:25 am

Re: What is the best way to let user download multiple files

Postby tkdbb84 » Fri Oct 26, 2012 7:22 am



Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 3 guests