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:] 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().. :)
Ok, duh (never used that [int what] by the way).
Make that an optional second arg then.
With kind regards,
Melvyn Sopacua
<?php include("not_reflecting_employers_views.txt"); ?>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php