On 21-Dec-98 Frank Barknecht wrote: > Hi all, > I am playing around with Postgresql and php3 and I cannot make a database > connection this way. The most simple script fails: > > <?php > $database = pg_Connect ("", "", "", "", "template"); > ?> >
Pass user and password in the pg_connect function. Look at www.php3.org's online docs for an example.