RE: readfile() problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 echo "could NOT set";

/Peter


-----Original Message-----
From: Richard Lynch [mailto:ceo@xxxxxxxxx] 
Sent: Friday, October 13, 2006 4:59 AM
To: Peter Lauri
Cc: php-general@xxxxxxxxxxxxx
Subject: RE:  readfile() problem

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. :-)

ini_set the buffering off in that script, or just turn it off
entirely, or...

Sorry I missed that bit.  I never turn ob on in php.ini, so never
think of it.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux