Re: phpinfo
| From: | Jason Wong | Date: | Thu, 23 May 2002 06:36:34 +0000 |
| Subject: | Re: phpinfo | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98872@lists.php.net to get a copy of this message | ||
On Thursday 23 May 2002 14:23, Dennis Gearon wrote:
> has anyone tried to eval() php info to prevent it from being displayed
> so it could be processed for config checking, instead?
Try:
ob_start();
phpinfo();
$doo = ob_get_contents(); # $doo holds the output of phpinfo()
ob_end_clean();
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
How can you be in two places at once when you're not anywhere at all?
*/