Then you can do file_get_contents within PHP. or any file handling mechanism.
On Mon, Mar 29, 2010 at 11:49 AM, ebhakt <i...@ebhakt.com> wrote: > 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...@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 <i...@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/ > > > -- Devendra Jadhav देवेंद्र जाधव