RE: [PHP] readfile() problem

From: Date: Fri, 13 Oct 2006 06:28:09 +0000
Subject: RE: [PHP] readfile() problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-243074@lists.php.net to get a copy of this message
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@l-i-e.com] 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 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?

« previous php.general (#243074) next »