Re: Piping phpinfo();
| From: | Rasmus Lerdorf | Date: | Fri, 11 Jan 2002 07:27:31 +0000 |
| Subject: | Re: Piping phpinfo(); | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80169@lists.php.net to get a copy of this message | ||
> On Thu, 10 Jan 2002, Rasmus Lerdorf wrote:
>
> Thanks Rasmus, but I am not looking for a command line option.
>
> I need to pipe phpinfo() from a php script, running under apache.
> Normally, phpinfo() will just dump its output onto the browser;
> I want to redirect those output to a logfile instead.
>
> Is there a way out?
Use output buffering.
-Rasmus