[PHP] Piping phpinfo();

2002-01-10 Thread Vaccius ITsec
Hi, How does one redirect phpinfo into some logfile? Rgds, -PY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Piping phpinfo();

2002-01-10 Thread Vaccius ITsec
. Is there a way out? -PY php -i logfile On Fri, 11 Jan 2002, Vaccius ITsec wrote: Hi, How does one redirect phpinfo into some logfile? Rgds, -PY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] Re: Piping phpinfo();

2002-01-10 Thread Vaccius ITsec
On Fri, 11 Jan 2002, Paul A. Procacci wrote: how about ? ob_start(); phpinfo(); $contents = ob_get_contents(); ob_end_clean(); $fopen = fopen(my_file.log, w+); fputs($fopen, $contents); ? What a beauty! Thanks! Paul : - Original Message - From: Vaccius