Re: how to provide download of files mow in documentroot
| From: | ebhakt | Date: | Mon, 29 Mar 2010 06:19:21 +0000 |
| Subject: | Re: how to provide download of files mow in documentroot | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-303573@lists.php.net to get a copy of this message | ||
No i don't want to create any soft links
that primarily rejects all the benefits of putting a file outside of
document root
i want some solution similar to private file downloads provided by drupal'
so that the php webserver provides the download and not apache
in realtime
On Mon, Mar 29, 2010 at 11:43 AM, Devendra Jadhav <devendra.in@gmail.com>wrote:
> Hey..
>
> Try creating soft link to the destination folder from doc root.
> I haven't tried it but give it a try...
>
>
> On Mon, Mar 29, 2010 at 1:00 AM, ebhakt <im@ebhakt.com> wrote:
>
>> Hi
>> i am writing a web application in php
>> this webapp primarily focuses on file uploads and downloads
>> the uploaded files will be saved in a folder which is not in document root
>> and my query is how will i be able to provide download to such files not
>> located in document root via php
>>
>>
>> --
>> Bhaskar Tiwari
>> GTSE Generalist
>> Directory Services
>> Microsoft
>>
>> ____________________________________________________________
>> All we have to decide is what to do with the time that has been given to
>> us
>>
>>
>> http://www.ebhakt.com/
>> http://fytclub.net/
>> http://ebhakt.info/
>>
>
>
>
> --
> Devendra Jadhav
> देवेंद्र जाधव
>
--
Bhaskar Tiwari
GTSE Generalist
Directory Services
Microsoft
____________________________________________________________
All we have to decide is what to do with the time that has been given to us
http://www.ebhakt.com/
http://fytclub.net/
http://ebhakt.info/