Re: How to Connect remote DB server?
| From: | Derick Rethans | Date: | Wed, 12 Mar 2003 11:31:36 +0000 |
| Subject: | Re: How to Connect remote DB server? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-95038@lists.php.net to get a copy of this message | ||
Hello,
please forward user questions to the php-general@lists.php.net
mailinglist, this list is for development _OF_ PHP, not development
_with_ PHP.
Derick
On Wed, 12 Mar 2003, Patrick LOK wrote:
> It is possible to connect a remote db server using xxxxx_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 to server: psqldb in psqltest.php on line 2" &
> "Unable to connect to server: 192.168.0.100 in psqltest.php on line 2"
>
> Can anyone help?
>
> regards
> ./pl
>
--
"my other box is your windows PC"
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------