Re: [PHP] error warning while connecting to posgreSQL

2008-09-30 Thread Adrian Videnie
Nilesh Govindrajan wrote: Yeah that's true. Placing an @ before the function is a bad idea. Instead use error_reporting(E_NONE) OR error_reporting(0) You should never use error_reporting(E_NONE), not even in production mode. The correct options are: error_reporting(E_ALL | E_STRICT);

RE: [PHP] error warning while connecting to posgreSQL

2008-09-29 Thread Richard Lynch
-Original Message- i try to understand the error_reporting statement and to avoid all warning or error messages. for example i stop the postgresql service and i try to connect to it. when error_reporting is set to E_ALL, i get the following warning : *Warning*: pg_connect()

Re: [PHP] error warning while connecting to posgreSQL

2008-09-29 Thread Nilesh Govindrajan
On Monday 29 September 2008 10:02:06 pm Richard Lynch wrote: -Original Message- i try to understand the error_reporting statement and to avoid all warning or error messages. for example i stop the postgresql service and i try to connect to it. when error_reporting is set to

Re: [PHP] error warning while connecting to posgreSQL

2008-09-28 Thread Ashley Sheridan
On Sun, 2008-09-28 at 11:00 +0200, Alain Roger wrote: Hi, i try to understand the error_reporting statement and to avoid all warning or error messages. for example i stop the postgresql service and i try to connect to it. when error_reporting is set to E_ALL, i get the following warning :

Re: [PHP] error warning while connecting to posgreSQL

2008-09-28 Thread Alain Roger
i only set it via php code like error_reporting(0); On Sun, Sep 28, 2008 at 11:11 AM, Ashley Sheridan [EMAIL PROTECTED]wrote: On Sun, 2008-09-28 at 11:00 +0200, Alain Roger wrote: Hi, i try to understand the error_reporting statement and to avoid all warning or error messages. for