Re: [PHP] how to provide download of files mow in documentroot

2010-03-31 Thread Anshul Agrawal
On Wed, Mar 31, 2010 at 1:12 AM, Nathan Rixham nrix...@gmail.com wrote: Anshul Agrawal wrote: On Tue, Mar 30, 2010 at 8:41 PM, Jan G.B. ro0ot.w...@googlemail.com wrote: 2010/3/30 Nathan Rixham nrix...@gmail.com: Jan G.B. wrote: 2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B.

Re: [PHP] how to provide download of files mow in documentroot

2010-03-31 Thread Tommy Pham
On Wed, Mar 31, 2010 at 12:43 AM, Anshul Agrawal drinknder...@gmail.com wrote: On Wed, Mar 31, 2010 at 1:12 AM, Nathan Rixham nrix...@gmail.com wrote: Anshul Agrawal wrote: On Tue, Mar 30, 2010 at 8:41 PM, Jan G.B. ro0ot.w...@googlemail.com wrote: 2010/3/30 Nathan Rixham

Re: [PHP] how to provide download of files mow in documentroot

2010-03-30 Thread Jan G.B.
2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B. wrote: 2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B. wrote: Top posting sucks, so I'll answer the post somewhere down there. SCNR 2010/3/29 Devendra Jadhav devendra...@gmail.com Then you can do file_get_contents within

Re: [PHP] how to provide download of files mow in documentroot

2010-03-30 Thread Nathan Rixham
Jan G.B. wrote: 2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B. wrote: 2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B. wrote: Top posting sucks, so I'll answer the post somewhere down there. SCNR 2010/3/29 Devendra Jadhav devendra...@gmail.com Then you can do file_get_contents

Re: [PHP] how to provide download of files mow in documentroot

2010-03-30 Thread Jan G.B.
2010/3/30 Nathan Rixham nrix...@gmail.com: Jan G.B. wrote: 2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B. wrote: 2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B. wrote: Top posting sucks, so I'll answer the post somewhere down there. SCNR 2010/3/29 Devendra Jadhav

Re: [PHP] how to provide download of files mow in documentroot

2010-03-30 Thread Nathan Rixham
Jan G.B. wrote: I was recommending other file methods like fopen() combinations, fpassthru() and at best readfile(). All of them do not buffer the whole file in memory. http://php.net/readfile http://php.net/fpassthru ahh so you were; completely missed that, apologies - readfile's the one

Re: [PHP] how to provide download of files mow in documentroot

2010-03-30 Thread Anshul Agrawal
On Tue, Mar 30, 2010 at 8:41 PM, Jan G.B. ro0ot.w...@googlemail.com wrote: 2010/3/30 Nathan Rixham nrix...@gmail.com: Jan G.B. wrote: 2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B. wrote: 2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B. wrote: Top posting sucks, so I'll

Re: [PHP] how to provide download of files mow in documentroot

2010-03-30 Thread Nathan Rixham
Anshul Agrawal wrote: On Tue, Mar 30, 2010 at 8:41 PM, Jan G.B. ro0ot.w...@googlemail.com wrote: 2010/3/30 Nathan Rixham nrix...@gmail.com: Jan G.B. wrote: 2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B. wrote: 2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B. wrote: Top posting

Re: [PHP] how to provide download of files mow in documentroot

2010-03-29 Thread Devendra Jadhav
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

Re: [PHP] how to provide download of files mow in documentroot

2010-03-29 Thread ebhakt
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

Re: [PHP] how to provide download of files mow in documentroot

2010-03-29 Thread Devendra Jadhav
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

Re: [PHP] how to provide download of files mow in documentroot

2010-03-29 Thread Jan G.B.
Top posting sucks, so I'll answer the post somewhere down there. SCNR 2010/3/29 Devendra Jadhav devendra...@gmail.com Then you can do file_get_contents within PHP. or any file handling mechanism. On Mon, Mar 29, 2010 at 1:00 AM, ebhakt i...@ebhakt.com wrote: Hi i am writing a web

Re: [PHP] how to provide download of files mow in documentroot

2010-03-29 Thread Nathan Rixham
Jan G.B. wrote: Top posting sucks, so I'll answer the post somewhere down there. SCNR 2010/3/29 Devendra Jadhav devendra...@gmail.com Then you can do file_get_contents within PHP. or any file handling mechanism. On Mon, Mar 29, 2010 at 1:00 AM, ebhakt i...@ebhakt.com wrote: Hi i am

Re: [PHP] how to provide download of files mow in documentroot

2010-03-29 Thread Jan G.B.
2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B. wrote: Top posting sucks, so I'll answer the post somewhere down there. SCNR 2010/3/29 Devendra Jadhav devendra...@gmail.com Then you can do file_get_contents within PHP. or any file handling mechanism. On Mon, Mar 29, 2010 at

Re: [PHP] how to provide download of files mow in documentroot

2010-03-29 Thread Anshul Agrawal
On Mon, Mar 29, 2010 at 6:10 PM, Nathan Rixham nrix...@gmail.com wrote: Jan G.B. wrote: Top posting sucks, so I'll answer the post somewhere down there. SCNR 2010/3/29 Devendra Jadhav devendra...@gmail.com Then you can do file_get_contents within PHP. or any file handling

Re: [PHP] how to provide download of files mow in documentroot

2010-03-29 Thread Nathan Rixham
Jan G.B. wrote: 2010/3/29 Nathan Rixham nrix...@gmail.com Jan G.B. wrote: Top posting sucks, so I'll answer the post somewhere down there. SCNR 2010/3/29 Devendra Jadhav devendra...@gmail.com Then you can do file_get_contents within PHP. or any file handling mechanism. On Mon, Mar 29,