Received: from web14708.mail.yahoo.com (web14708.mail.yahoo.com [216.136.224.125]) by postgresql.org (Postfix) with SMTP id 6F13B476BB7 for ; Mon, 18 Mar 2002 10:36:06 -0500 (EST) Message-ID: <20020318153610.72251.qmail@web14708.mail.yahoo.com> Received: from [195.228.79.33] by web14708.mail.yahoo.com via HTTP; Mon, 18 Mar 2002 07:36:10 PST Date: Mon, 18 Mar 2002 07:36:10 -0800 (PST) From: Ivan Horvath Subject: Re: connecting from php To: Devrim GUNDUZ Cc: pgslq-php In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200203/40 X-Sequence-Number: 1009 thank you for the fast answer, here is the php code: $conn = pg_Connect("host=192.168.1.30 port=5432 dbname=PMS2500 user=web password=web"); here is the error message: Warning: Unable to connect to PostgreSQL server: fe_sendauth: authentication type 5 not supported in c:\program files\apache group\apache\htdocs\test\masodik.php on line 8 Ivan --- Devrim GUNDUZ wrote: > > Hi, > > If you paste the php line and error message that you > are getting, we can > easily help you. > > Otherwise, all we can do could be just guessing what > is happening > there.... > > Regards and best wishes, > > > Devrim GUNDUZ > > devrim@oper.metu.edu.tr > devrim.gunduz@linux.org.tr > devrimg@tr.net > > Web : http://devrim.oper.metu.edu.tr > ------------------------------------------------------------------ > > > On Mon, 18 Mar 2002, Ivan Horvath wrote: > > > hi All, > > > > i set up in the pg_hba.conf file the md5 password > > encyption method for the client authentication. > > i try to connect to the database from another > machine > > with the psql client tool - it is working. > > i try to connect with php script it is not > working! > > please help me! > > > > Ivan > > > > > > ===== > > Best Regards, > > > > Ivan Horvath > > > > Anyone who has never made a mistake has never > tried anything new. > > > > /Albert Einstein/ > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Sports - live college hoops coverage > > http://sports.yahoo.com/ > > > > ---------------------------(end of > broadcast)--------------------------- > > TIP 4: Don't 'kill -9' the postmaster > > > > ===== Best Regards, Ivan Horvath Anyone who has never made a mistake has never tried anything new. /Albert Einstein/ __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/