Pg_connect in PHP

From: Henk van Lingen <henkvl(at)cs(dot)uu(dot)nl>
To: pgsql-general(at)postgresql(dot)org
Subject: Pg_connect in PHP
Date: 2000-07-13 14:06:06
Message-ID: Pine.LNX.4.21.0007131600520.4788-100000@sarastro.cs.uu.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Anyone using PHP and WWW-authenticate ??

I do:

$database = pg_Connect ("host=db.example.com port=5432
user=$PHP_AUTH_USER password=$PHP_AUTH_PW dbname=base");

That works, except when PHP_AUTH_PW contains a space. Is there a way
to use passwords containing spaces?

Regards,
--
+-----------------------------------------------------------------------+
| Henk van Lingen, Systems Administrator, <henkvl(at)cs(dot)uu(dot)nl> |
| Dept. of Computer Science, Utrecht University. phone: +31-30-2535278 |
+----------------- http://www.cs.uu.nl/people/henkvl/ ------------------+

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vince Vielhaber 2000-07-13 14:11:09 Re: Pg_connect in PHP
Previous Message Patrick Welche 2000-07-13 13:53:59 Re: Figured it out (psql and Gnu readline)