Re: [PHP] How do I get ini_set('output_handler', '') to work?!

2006-11-02 Thread Richard Lynch
On Wed, November 1, 2006 3:42 pm, Ed Lazor wrote: Unless you want to pre-parse set_ini() for constants differently than set_ini() for variables. [shudder] It sounds like we just need support for pre-parser commands. You end up with one set of variables, but now you have the opportunity to

RE: [PHP] How do I get ini_set('output_handler', '') to work?!

2006-11-01 Thread Richard Lynch
On Tue, October 31, 2006 6:22 pm, Daevid Vincent wrote: There is nothing to re-compile here. The command line has an existing flag for you to specify the php.ini file, or to override any setting[s] within the php.ini file. Mebbe so, but that's equally obnoxious to pass this command line

Re: [PHP] How do I get ini_set('output_handler', '') to work?!

2006-11-01 Thread Ed Lazor
Unless you want to pre-parse set_ini() for constants differently than set_ini() for variables. [shudder] It sounds like we just need support for pre-parser commands. You end up with one set of variables, but now you have the opportunity to change attributes of the environment before script

RE: [PHP] How do I get ini_set('output_handler', '') to work?!

2006-10-31 Thread Richard Lynch
On Mon, October 30, 2006 7:19 pm, Daevid Vincent wrote: Thank you for the reply Richard (and Tom). That news sucks however. Seems that the PHP pre-parser should handle this better. It's not like it's a one-pass parser (like Ruby). ?php ini_set('output_handler', 'mb_output_handler'); echo

RE: [PHP] How do I get ini_set('output_handler', '') to work?!

2006-10-31 Thread Daevid Vincent
There is nothing to re-compile here. The command line has an existing flag for you to specify the php.ini file, or to override any setting[s] within the php.ini file. Mebbe so, but that's equally obnoxious to pass this command line parameter to a lot of existing scripts. It's just easier to

RE: [PHP] How do I get ini_set('output_handler', '') to work?!

2006-10-30 Thread Daevid Vincent
Lynch [mailto:[EMAIL PROTECTED] Sent: Sunday, October 29, 2006 9:25 PM To: Daevid Vincent Cc: php-general@lists.php.net Subject: Re: [PHP] How do I get ini_set('output_handler', '') to work?! On Fri, October 27, 2006 3:46 pm, Daevid Vincent wrote: What am I doing wrong... In my

Re: [PHP] How do I get ini_set('output_handler', '') to work?!

2006-10-30 Thread Ed Lazor
I suppose I could re-compile my command line version with a different php.ini file, but that's kind of lame that I have to have two php.ini files for what ini_set() SHOULD handle. Would modifications via .htaccess work for you? -Ed -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] How do I get ini_set('output_handler', '') to work?!

2006-10-29 Thread Richard Lynch
On Fri, October 27, 2006 3:46 pm, Daevid Vincent wrote: What am I doing wrong... In my php.ini I have this for my web pages (and I want it): output_handler = ob_gzhandler But this causes my command line script to not show output until the very end. I thought I could disable it at the