php-windows | 2001051
Date: 05/14/01
- Next message: Geoff: "[PHP-WIN] Testing php files on windows?"
- Previous message: Christian Ribeaud: "[PHP-WIN] [PHP/4.0.5] Problem with session"
- Next in thread: Svensson, B.A.T. : "RE: [PHP-WIN] mssql_connect"
- Maybe reply: Svensson, B.A.T. : "RE: [PHP-WIN] mssql_connect"
- Maybe reply: Carlos Andre Marques Moreira: "RE: [PHP-WIN] mssql_connect"
- Maybe reply: Svensson, B.A.T. : "RE: [PHP-WIN] mssql_connect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all,
I have the following configuration:
winnt + apache + php4.0.4 called let's say server1.domain.com and one with
winnt + MS SQL Server 7.0 called server2.domain.com and a third machine with
win200 + iis + php3.0.15 + MS SQL Server 7.0 called server3.domain.com on
server3 the SQL Server is called server3
I have a script in server1 trying to access the sql server in server2 using
this:
$conn_id = mssql_connect("server2.domain.com","login","password") or
die("Erro de Conexão!");
and i get the following message:
Warning:MS SQL: Unable to connect to server: server2.domain.com
I though the login and/or password were wrong, but the administrator of
server1 and server2 said it is right.
When the script were on server3 things were going right and i used:
$conn_id = mssql_connect("server3","login","password") or die("Erro de
Conexão!");
Is this clear?
In Short, i want to connect to a sql server on a remote machine, can anyone
give me some help?
Carlos André Marques Moreira
camoreira <email protected>
Bolsista CNPq / RHAE
SENAI-CE/CETAE
2001 Ano Internacional do Voluntário
- Next message: Geoff: "[PHP-WIN] Testing php files on windows?"
- Previous message: Christian Ribeaud: "[PHP-WIN] [PHP/4.0.5] Problem with session"
- Next in thread: Svensson, B.A.T. : "RE: [PHP-WIN] mssql_connect"
- Maybe reply: Svensson, B.A.T. : "RE: [PHP-WIN] mssql_connect"
- Maybe reply: Carlos Andre Marques Moreira: "RE: [PHP-WIN] mssql_connect"
- Maybe reply: Svensson, B.A.T. : "RE: [PHP-WIN] mssql_connect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

