Re: [PHP-DB] How to Connect remote DB server?

2003-03-12 Thread Patrick LOK
There is no firewall within the LAN environment. I tried the mssql_connect too using mssql_connect(testdb,sa,) but same error returned! Any idea? ./pl Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wednesday 12 March 2003 19:28, Patrick LOK wrote: It is possible to

[PHP-DB] Re: [PHP] Re: [PHP-DB] How to Connect remote DB server?

2003-03-12 Thread Patrick LOK
is accepting only localhost connections. Niklas -Original Message- From: Patrick LOK [mailto:[EMAIL PROTECTED] Sent: 12. maaliskuuta 2003 14:39 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] Re: [PHP-DB] How to Connect remote DB server? There is no firewall within the LAN

Re: [PHP-DB] How to Connect remote DB server?

2003-03-12 Thread Mark
A couple of things. First, I believe it's pg_connect(), not pgsql_connect(). Also, note that according to the docs, the old syntax with multiple parameters $conn = pg_connect(host, port, options, tty, dbname) has been deprecated. But more importantly, can you ping the postgres/mssql server from

[PHP-DB] How to Connect remote DB server?

2003-03-12 Thread Patrick LOK
It is possible to connect a remote db server using x_connect? e.g. a PostgreSQL in server PSQLDB, ip=192.168.0.100 and a MSSQL server MSSQLDB, ip=192.168.0.110 I tried pgsql_connect(psqldb,administrator,) pgsql_connect(192.168.0.100,administrator,) but failed! Error is Unable to connect