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().. :)
    
    --Jani
    


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to