Re: [PHP] Problem with output_buffering directive in cli

2008-06-11 Thread Nathan Nobbe
On Wed, Jun 11, 2008 at 4:35 AM, Mike Burba <[EMAIL PROTECTED]> wrote: > I think I solved this issue by using the -d option on the commandline. > > When I use: > php -d output_buffering=On ./filename.php > > the local value / active value of output_buffering is correct. kudos, and nice find ;)

Re: [PHP] Problem with output_buffering directive in cli

2008-06-11 Thread Mike Burba
I think I solved this issue by using the -d option on the commandline. When I use: php -d output_buffering=On ./filename.php the local value / active value of output_buffering is correct. MKB On Wed, Jun 11, 2008 at 5:54 AM, Mike Burba <[EMAIL PROTECTED]> wrote: > Thanks for ideas, Nathan. > >>

Re: [PHP] Problem with output_buffering directive in cli

2008-06-11 Thread Mike Burba
Thanks for ideas, Nathan. > dunno if this was a typo on your part, but shouldnt it be, > ini_get("output_buffering") ? > yes...was getting tired last night. but it is correct in the code. > you might not be getting your settings from the ini file you think you are, > or there could be another on

Re: [PHP] Problem with output_buffering directive in cli

2008-06-10 Thread Nathan Nobbe
On Tue, Jun 10, 2008 at 10:27 PM, Mike Burba <[EMAIL PROTECTED]> wrote: > I am using Smarty templates to format HTML emails from the command > line (using cli). My typical command is: > php filename.php > > However, and I am struggling with templates that are greater than 10k. > It looks like th

[PHP] Problem with output_buffering directive in cli

2008-06-10 Thread Mike Burba
I am using Smarty templates to format HTML emails from the command line (using cli). My typical command is: php filename.php However, and I am struggling with templates that are greater than 10k. It looks like the Smarty output is getting truncated at about 10k. Smarty uses output_buffering, so