More info...
For years on all my servers and all my sites I have used:
$conn = pg_Connect("localhost", "5432", "", "", "$database");
Now that this is the first server I completely loaded it sudden;t doesn't work but if I make a minor change it works:
$conn = pg_Connect("localhost", "5432", "nobody", "", "$database");
This should be sinple but my question is do I need to changes "ALL" my programs that use "pg_Connect" or is there something I so I don't have to change all my programs.
this isn't the where I should be asking this questions but what is the correct usage:
$conn = pg_Connect("localhost", "5432", "", "", "$database");
--- or ---
$conn = pg_Connect("localhost", "5432", "nobody", "", "$database");
|