RE: [PHP] readfile() problem

2006-10-13 Thread Richard Lynch
On Fri, October 13, 2006 1:28 am, Peter Lauri wrote: > Hi, I am trying to do this, but now I cannot set values with ini_set. > I do > the following and it outputs "could not set". I have also tried 0, > "0", but > that doesn't help. > > if(ini_set("output_buffering", "off")) echo "could set"; > els

RE: [PHP] readfile() problem

2006-10-13 Thread Peter Lauri
You are correct. I might love you :) -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Friday, October 13, 2006 2:27 PM To: Peter Lauri Cc: [EMAIL PROTECTED]; php-general@lists.php.net Subject: RE: [PHP] readfile() problem On Fri, 2006-10-13 at 13:28 +0700, Peter

RE: [PHP] readfile() problem

2006-10-13 Thread Robert Cummings
On Fri, 2006-10-13 at 13:28 +0700, Peter Lauri wrote: > Hi, I am trying to do this, but now I cannot set values with ini_set. I do > the following and it outputs "could not set". I have also tried 0, "0", but > that doesn't help. > > if(ini_set("output_buffering", "off")) echo "could set"; > else

RE: [PHP] readfile() problem

2006-10-12 Thread Peter Lauri
ot;could NOT set"; /Peter -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Friday, October 13, 2006 4:59 AM To: Peter Lauri Cc: php-general@lists.php.net Subject: RE: [PHP] readfile() problem On Thu, October 12, 2006 3:26 pm, Peter Lauri wrote: > It di

RE: [PHP] readfile() problem

2006-10-12 Thread Richard Lynch
On Thu, October 12, 2006 3:26 pm, Peter Lauri wrote: > It did help, but not perfectly. Sometimes I have to refresh a few > times > before it will be pushed. Is output_buffering defaulted to "on"?... Cuz then you're putting a whole SECOND copy of the output into PHP's output buffer. That's bad. :

RE: [PHP] readfile() problem

2006-10-12 Thread Peter Lauri
: [PHP] readfile() problem On Thu, October 12, 2006 11:43 am, Peter Lauri wrote: > I have a problem. I am using readfile() to send files to the browser. > I have three different files that I am sending. They are 3MB, 15MB and > 59MB > Is there any limitations or settings of how large t

Re: [PHP] readfile() problem

2006-10-12 Thread Richard Lynch
On Thu, October 12, 2006 11:43 am, Peter Lauri wrote: > I have a problem. I am using readfile() to send files to the browser. > I have three different files that I am sending. They are 3MB, 15MB and > 59MB > Is there any limitations or settings of how large the files can be > when > using readfil

[PHP] readfile() problem

2006-10-12 Thread Peter Lauri
Hi gang, I have a problem. I am using readfile() to send files to the browser. The code is below. I had is working on another server before, but now my client have moved to a new server and we have started to experience problems with bigger files. I have three different files that I am sending. T