Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 688084758C9 for ; Fri, 27 Dec 2002 04:09:05 -0500 (EST) Received: from cola.bit.te.ua (unknown [193.193.206.138]) by postgresql.org (Postfix) with ESMTP id ED114474E53 for ; Fri, 27 Dec 2002 04:09:02 -0500 (EST) Received: from cola.bit.te.ua (root@localhost) by cola.bit.te.ua (8.11.6/8.11.6) with SMTP id gBR981I26908 for ; Fri, 27 Dec 2002 11:08:01 +0200 Received: from mars.l5.city.int (IDENT:1000@mars.l5.city.int [10.0.1.33]) by cola.bit.te.ua (8.11.6/8.11.6) with ESMTP id gBR981W26898 for ; Fri, 27 Dec 2002 11:08:01 +0200 Received: (from sector119@localhost) by mars.l5.city.int (8.12.4/8.12.4/Submit) id gBR992YB002745 for pgsql-php@postgresql.org; Fri, 27 Dec 2002 11:09:02 +0200 X-Authentication-Warning: mars.l5.city.int: sector119 set sender to sector119@mail.ru using -f Date: Fri, 27 Dec 2002 11:09:02 +0200 From: sector119@mail.ru To: pgsql-php@postgresql.org Subject: pg_pconnect Message-ID: <20021227090902.GA2637@city.gov.te.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/61 X-Sequence-Number: 1736 Hi \n"; $db = pg_pconnect("dbname=$dbname user=$user password=$dbpassword"); if (!$db) echo "Connection can not be established!
\n"; else echo "Connection established!
\n"; echo "next screen
"; echo ""; ?> \n"; if ($db) echo "db handler is still valid!
\n"; else echo "db handler does not exist anymore!
\n"; echo ""; ?> when I click on next screen link I get db handler does not exist anymore! why??? -- WBR, sector119