Re: [PHP-DEV] html_error related to phpinfo() output

2002-10-30 Thread Melvyn Sopacua
[ wasn't online yesterday, so if this is done already, my apologies ] At 18:48 29-10-2002, Jani Taskinen wrote: On Tue, 29 Oct 2002, Zeev Suraski wrote: Shouldn't there be different settings? People may very well want html errors off, but still keep the rest of PHP 'web enabled'... I've

Re: [PHP-DEV] html_error related to phpinfo() output

2002-10-30 Thread Jani Taskinen
On Wed, 30 Oct 2002, Melvyn Sopacua wrote: Isn't this the easy way: proto void phpinfo([string format])? format defaults to html when sapi != cli. Keeps it simple and allows: [WEB:] mail([EMAIL PROTECTED], Not good, phpinfo('text')); [CLI:] phpinfo('html'); to write to a static file, in the

Re: [PHP-DEV] html_error related to phpinfo() output

2002-10-30 Thread Melvyn Sopacua
At 11:48 30-10-2002, Jani Taskinen wrote: On Wed, 30 Oct 2002, Melvyn Sopacua wrote: Isn't this the easy way: proto void phpinfo([string format])? format defaults to html when sapi != cli. Keeps it simple and allows: [WEB:] mail([EMAIL PROTECTED], Not good, phpinfo('text')); [CLI:]

Re: [PHP-DEV] html_error related to phpinfo() output

2002-10-29 Thread Derick Rethans
On Tue, 29 Oct 2002, Steve Alberty wrote: why result the functions phpinfo() and phpcredits() as plain text when i set the html_error = Off. I think this is not the correct behavior, or not? It is the correct behavior. Derick --

Re: [PHP-DEV] html_error related to phpinfo() output

2002-10-29 Thread Zeev Suraski
Shouldn't there be different settings? People may very well want html errors off, but still keep the rest of PHP 'web enabled'... At 08:58 29/10/2002, Derick Rethans wrote: On Tue, 29 Oct 2002, Steve Alberty wrote: why result the functions phpinfo() and phpcredits() as plain text when i set

Re: [PHP-DEV] html_error related to phpinfo() output

2002-10-29 Thread Derick Rethans
On Tue, 29 Oct 2002, Zeev Suraski wrote: Shouldn't there be different settings? People may very well want html errors off, but still keep the rest of PHP 'web enabled'... I was just stating that it was meant like this, if it should be like this is another question :) Derick --

Re: [PHP-DEV] html_error related to phpinfo() output

2002-10-29 Thread Jani Taskinen
On Tue, 29 Oct 2002, Zeev Suraski wrote: Shouldn't there be different settings? People may very well want html errors off, but still keep the rest of PHP 'web enabled'... I've asked about this a few times..I guess it was easier to use existing global than add new? :) This

Re: [PHP-DEV] html_error related to phpinfo() output

2002-10-29 Thread Derick Rethans
On Tue, 29 Oct 2002, Jani Taskinen wrote: On Tue, 29 Oct 2002, Zeev Suraski wrote: Shouldn't there be different settings? People may very well want html errors off, but still keep the rest of PHP 'web enabled'... I've asked about this a few times..I guess it was easier to use