hi guys
i have created five folders in one drive names of folders(Weaving,Spinning,.....) through if condition i handled that if user check the spinning department its data will be saved in spinning folder now problem is that how can i restrict one user that he can only download the data from spinning department not from other and kindly tell me what is the code for downloading in php
thanks in advance waiting for your replies guys
upload & download file
Moderator: General Moderators
- markusn00b
- Forum Contributor
- Posts: 298
- Joined: Sat Oct 20, 2007 2:16 pm
- Location: York, England
Re: upload & download file
You will generally force a download through PHP by setting the content-type header and then using readfile()
However, are you wanting to download the entire folder in one download?
However, are you wanting to download the entire folder in one download?