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/