Re: html_error related to phpinfo() output

From: Date: Wed, 30 Oct 2002 10:48:12 +0000
Subject: Re: html_error related to phpinfo() output
References: 1 2 3 4 5  Groups: php.dev 
Request: Send a blank email to php-dev+get-90313@lists.php.net to get a copy of this message
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("root@wrongconfigsr.us", "Not good", phpinfo('text')); >[CLI:] phpinfo('html'); to write to a static file, in the webenvironment. > >No BC issues, nuttin'. I suggest you go read the manual page for phpinfo().. :) --Jani

« previous php.dev (#90313) next »