You need a user=postgres and a bunch of other stuff in that function call. Look at the PHP manual for examples -- http://www.php.net/manual/function.pg-connect.php
Good luck!
-Mitch
I did this :
$iSockFD = socket (AF_INET, SOCK_STREAM, 0)
-- and got this :
Unknown error 4294967293
I'm using PHP4.0.3pl1 on a Linux box, SMP kernel 2.2.16
Any ideas?
Oh and yes, I did ocmpile and --enable-sockets , the functions are there, they just don't work. Thanks!!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.