ViN86
06-25-07, 08:58 AM
k, i have a bunch of files inside a list box. here is what i want to do.
1. user selects each item they want to download (by just selecting them or by clicking checkboxes or something like that)
2. user clicks download
3. server retrieves list of selected files
4. server queries database to get location of files on file system
5. server adds each file to ZIP archive (no compression)
6. server adds header and user downloads archive containing all the files
so that is the procedure that i need to carry out. for now, id like to know how do i get from steps 1 through 3. how do i retrieve each selected value? is it in some $_POST array or where would the list be?
1. user selects each item they want to download (by just selecting them or by clicking checkboxes or something like that)
2. user clicks download
3. server retrieves list of selected files
4. server queries database to get location of files on file system
5. server adds each file to ZIP archive (no compression)
6. server adds header and user downloads archive containing all the files
so that is the procedure that i need to carry out. for now, id like to know how do i get from steps 1 through 3. how do i retrieve each selected value? is it in some $_POST array or where would the list be?