Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 59C8D475B42 for ; Thu, 29 Aug 2002 01:37:34 -0400 (EDT) Received: from krusty.pcisys.net (krusty.pcisys.net [216.229.32.178]) by postgresql.org (Postfix) with ESMTP id B6761475AFB for ; Thu, 29 Aug 2002 01:37:33 -0400 (EDT) Received: from [216.229.45.2] (moe.rbe45-2.cos.pcisys.net [216.229.45.2]) by krusty.pcisys.net (8.12.5/8.12.5) with ESMTP id g7T5bVlM007998 for ; Wed, 28 Aug 2002 23:37:32 -0600 (MDT) User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.4 Date: Wed, 28 Aug 2002 23:37:33 -0600 Subject: Re: Where can I get error messages? From: Keary Suska To: Postgres-PHP Message-ID: In-Reply-To: <193857726615.20020829095734@surguttel.ru> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/102 X-Sequence-Number: 1447 on 8/28/02 9:57 PM, dr_sad@surguttel.ru purportedly said: > Hi, Jean-Luc. > Can't find any documents about "DB::connect" at www.php.net :( > Give me please any links to that. > And why "pg_connect" does not work properly? > Script ex.: > ---- cut --------- > > > printf("Hello, world!
"); > $s="host=dbserv port=5432 dbname=ll user=postgres password=gecnzr"; > if (($db=pg_pconnect ($s))===false) {printf("FALSE! No connection!
");} > printf("This is the end of script
"); > ?> > > > --- cut ----------- > No errors messages... "Hello, world!
" - is the last line in > generated html text :\ > This would mean that something is interfering with PHP's standard error reporting mechanism. Look for set_error_handler in any PHP code you invoke and check your php.ini for any related directive, as well as any auto-append or auto-prepend scripts if defined. Keary Suska Esoteritech, Inc. "Leveraging Open Source for a better Internet"