[PHP] error_append_string and error_log

2009-07-15 Thread Javier Ruiz
Hi! I'm trying to append some extra info to my php errors. It works well when I'm displaying errors on screen, but it doesn't work to log the extra info into an error file (log_errors and error_log). I mean, if I use this: ?php ini_set('display_errors', 1); ini_set('log_errors', 1);

Re: [PHP] error_append_string and error_log

2009-07-15 Thread Ashley Sheridan
On Wednesday 15 July 2009 12:44:21 Javier Ruiz wrote: Hi! I'm trying to append some extra info to my php errors. It works well when I'm displaying errors on screen, but it doesn't work to log the extra info into an error file (log_errors and error_log). I mean, if I use this: ?php

Re: [PHP] error_append_string and error_log

2009-07-15 Thread Javier Ruiz
Hi, thanks for your reply. The thing is, I need to set it in runtime (ini_set) since I want to append the URI that generated the error, so I'll need to use some $_SERVER variables. Regards JaviRuiz. On Wed, Jul 15, 2009 at 2:25 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On