Re: [PHP] logging erros and user access to logs

2007-03-28 Thread Juergen Wind
Tijnema ! wrote: > > > > You can simply put the phpinfo() at the end of your script. It will > show the ini_set items. > > If you don't believe me, try this script: > ini_set("allow_url_fopen","Off"); > phpinfo(); > ?> > > Under local value it will show you Off, and on master value it will

Re: [PHP] logging erros and user access to logs

2007-03-28 Thread Juergen Wind
Juergen Wind wrote: > > phpinfo() only reflects values set in php.ini (globally), http.conf (f.e. > per vhost) or .htaccess (per folder and below) > and only if phpinfo is called from inside that folder/vhost. > ini_set is only in the scope of your script. > so you can't test the effects of you

Re: [PHP] logging erros and user access to logs

2007-03-28 Thread Tijnema !
On 3/28/07, Juergen Wind <[EMAIL PROTECTED]> wrote: Jason Joines-3 wrote: > > Richard Lynch wrote: >> On Thu, March 15, 2007 8:25 am, Jason Joines wrote: >>> Richard Lynch wrote: Get the errors OFF the web page (display_errors OFF) and into the >>> >> error_reporting(E_PARSE); >>>

Re: [PHP] logging erros and user access to logs

2007-03-28 Thread Juergen Wind
Jason Joines-3 wrote: > > Richard Lynch wrote: >> On Thu, March 15, 2007 8:25 am, Jason Joines wrote: >>> Richard Lynch wrote: Get the errors OFF the web page (display_errors OFF) and into the >>> >> error_reporting(E_PARSE); >>> ini_set('display_errors','On'); >>> ini_set('d

Re: [PHP] logging erros and user access to logs

2007-03-28 Thread Jason Joines
Németh Zoltán wrote: > 2007. 03. 15, csütörtök keltezéssel 16.08-kor Jason Joines ezt írta: >> Richard Lynch wrote: >>> On Thu, March 15, 2007 2:47 pm, Jason Joines wrote: Richard Lynch wrote: > On Thu, March 15, 2007 8:25 am, Jason Joines wrote: >> Richard Lynch wrote: >>> Get the

Re: [PHP] logging erros and user access to logs

2007-03-19 Thread Richard Lynch
On Thu, March 15, 2007 4:08 pm, Jason Joines wrote: > "Invalid command 'phpflag', perhaps mis-spelled or defined by a module php_flag error_reporting 0 Or, perhaps, these days: php_value error_reporting 0 I forget what the outcome of the php_flag debacle was... but phpflag with no _ in it ain

Re: [PHP] logging erros and user access to logs

2007-03-19 Thread Németh Zoltán
2007. 03. 15, csütörtök keltezéssel 16.08-kor Jason Joines ezt írta: > Richard Lynch wrote: > > On Thu, March 15, 2007 2:47 pm, Jason Joines wrote: > >> Richard Lynch wrote: > >>> On Thu, March 15, 2007 8:25 am, Jason Joines wrote: > Richard Lynch wrote: > > Get the errors OFF the web page

Re: [PHP] logging erros and user access to logs

2007-03-16 Thread Juergen Wind
Jason Joines-3 wrote: > > My users want to be able to debug their scripts, see mysql errors, > and such. Using mysql_error(), and display_errors, problems such as > non-existent databases, or variable and such seem to get printed to the > screen. However, syntax errors do not. They get w

Re: [PHP] logging erros and user access to logs

2007-03-15 Thread Jason Joines
Richard Lynch wrote: > On Thu, March 15, 2007 2:47 pm, Jason Joines wrote: >> Richard Lynch wrote: >>> On Thu, March 15, 2007 8:25 am, Jason Joines wrote: Richard Lynch wrote: > Get the errors OFF the web page (display_errors OFF) and into the >>> error_reporting(E_PARSE);

Re: [PHP] logging erros and user access to logs

2007-03-15 Thread Richard Lynch
On Thu, March 15, 2007 2:47 pm, Jason Joines wrote: > Richard Lynch wrote: >> On Thu, March 15, 2007 8:25 am, Jason Joines wrote: >>> Richard Lynch wrote: Get the errors OFF the web page (display_errors OFF) and into the >>> >> error_reporting(E_PARSE); >>> ini_set('display_errors','

Re: [PHP] logging erros and user access to logs

2007-03-15 Thread Jason Joines
Richard Lynch wrote: > On Thu, March 15, 2007 8:25 am, Jason Joines wrote: >> Richard Lynch wrote: >>> Get the errors OFF the web page (display_errors OFF) and into the >> > error_reporting(E_PARSE); >> ini_set('display_errors','On'); >> ini_set('display_startup_errors','On'); >>

Re: [PHP] logging erros and user access to logs

2007-03-15 Thread Jason Joines
On Thu, 15 Mar 2007, Richard Lynch wrote: > Date: Thu, 15 Mar 2007 14:35:45 -0500 (CDT) > From: Richard Lynch <[EMAIL PROTECTED]> > To: Jason Joines <[EMAIL PROTECTED]> > Cc: php-general@lists.php.net > Subject: Re: [PHP] logging erros and user access to logs > &g

Re: [PHP] logging erros and user access to logs

2007-03-15 Thread Richard Lynch
On Thu, March 15, 2007 8:25 am, Jason Joines wrote: > Richard Lynch wrote: >> Get the errors OFF the web page (display_errors OFF) and into the >error_reporting(E_PARSE); > ini_set('display_errors','On'); > ini_set('display_startup_errors','On'); > include('mypage.php'); > ?>

Re: [PHP] logging erros and user access to logs

2007-03-15 Thread Tijnema !
On 3/15/07, Jason Joines <[EMAIL PROTECTED]> wrote: Richard Lynch wrote: > Get the errors OFF the web page (display_errors OFF) and into the logs > and provide your users with logs for their own domains with vhosts. > > On Wed, March 14, 2007 11:02 am, Jason Joines wrote: >> My users want to

Re: [PHP] logging erros and user access to logs

2007-03-15 Thread Jason Joines
Richard Lynch wrote: > Get the errors OFF the web page (display_errors OFF) and into the logs > and provide your users with logs for their own domains with vhosts. > > On Wed, March 14, 2007 11:02 am, Jason Joines wrote: >> My users want to be able to debug their scripts, see mysql errors, >>

Re: [PHP] logging erros and user access to logs

2007-03-14 Thread Richard Lynch
Get the errors OFF the web page (display_errors OFF) and into the logs and provide your users with logs for their own domains with vhosts. On Wed, March 14, 2007 11:02 am, Jason Joines wrote: > My users want to be able to debug their scripts, see mysql errors, > and such. Using mysql_error(),

[PHP] logging erros and user access to logs

2007-03-14 Thread Jason Joines
My users want to be able to debug their scripts, see mysql errors, and such. Using mysql_error(), and display_errors, problems such as non-existent databases, or variable and such seem to get printed to the screen. However, syntax errors do not. They get written to the global php log, for ex