Re: Is there a way to write to the php error log from a php script?

From: Date: Sat, 23 Oct 2010 00:31:07 +0000
Subject: Re: Is there a way to write to the php error log from a php script?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-309027@lists.php.net to get a copy of this message
On Fri, Oct 22, 2010 at 20:24, Tamara Temple <tamouse.lists@gmail.com> wrote: > I'm trying to log some data for debugging and don't have use of the standard > output to do so. I'd like to write the info to the php error log. Can this > be done from within PHP? I've searched the web site for logging functions, > but cannot find any. Sure. You can use trigger_error() and error_log() for that. -- </Daniel P. Brown> Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting (866-) 725-4321 http://www.parasane.net/

« previous php.general (#309027) next »