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?
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to