Re: Capturing phpinfo()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Ashley M. Kirchner" <ashley@xxxxxxxxxx> wrote in message
news:41A3D239.9060605@xxxxxxxxxxxxx
>
>     How can I stick phpinfo() at the bottom of a page in such a way that
> it doesn't display the data in the page, but instead creates a log file
> and dumps everything in there)  The log file should either be appended
> to every time, or if not, a unique one created every time (one per
> transaction.)  Is this even possible?

you can use ob_ (output buffering ) familiy of functions to capture result
of phpinfo() in string, instead of outputig it to browser. Saving that
string into file is left as an excercise for reader ;)

rush
--
http://www.templatetamer.com/
http://www.folderscavenger.com/

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux