Use the other form of Pg_Connect. The one that uses , delimiters.
On Thu, 13 Jul 2000, Henk van Lingen wrote:
>
> 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@cs.uu.nl> |
> | Dept. of Computer Science, Utrecht University. phone: +31-30-2535278 |
> +----------------- http://www.cs.uu.nl/people/henkvl/ ------------------+
>