El mensaje no está completo.
Falta (como minimo) la linea del script.

De todas formas ...

mssql_connect
(PHP 3, PHP 4 )

mssql_connect -- Open MS SQL server connection
Description
int mssql_connect ( [string servername [, string username [, string
password]]])


Returns: A positive MS SQL link identifier on success, or FALSE on error.

mssql_connect() establishes a connection to a MS SQL server. The servername
argument has to be a valid servername that is defined in the 'interfaces'
file.



Luis



----- Original Message -----
From: "OMAR IGNACIO CAMPOS GALAN" <[EMAIL PROTECTED]>
To: "Luis Moreira" <[EMAIL PROTECTED]>
Sent: Wednesday, December 17, 2003 4:35 PM
Subject: RE: [PHP-WIN] mssql_connect problem


La x es la ruta del archivo carpeta\archivo.php (por ejemplo)

$db_usuario y $db_password = "Formas"
Es el login y password que se utiliza para conectarse a la base de datos.
Éste usuario tiene permisos de escritura en las tablas necesarias.

LI. Omar Campos Galán
Desarrollo de Formas Electrónicas
CompuSoluciones
Tel. (0133) 3818-1554 Fax (0133) 3818-1506
cuenta messenger:
[EMAIL PROTECTED]
www.compusoluciones.com



-----Mensaje original-----
De: Luis Moreira [mailto:[EMAIL PROTECTED]
Enviado el: Miércoles, 17 de Diciembre de 2003 10:29
Para: Omar
CC: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Asunto: Re: [PHP-WIN] mssql_connect problem


Omar,

    Español ?...

    Es este el mensaje completo ?
    De donde viene el "x" ?
    Qual es el contenido de las variables $db_usuario y $db_password en el
momento de la llamada ?

Luis


----- Original Message -----
From: "Omar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 17, 2003 4:20 PM
Subject: [PHP-WIN] mssql_connect problem


> Hello.
> I have a sql server named CLUSTER01, i try to connect to it : $db_conn
> = mssql_connect("CLUSTER01", $db_usuario, $db_password);
>
> and it gives me this message:
> Warning: 0 is not a MS SQL link index in x
>
> The user name and password are correctly created in the logins of the
> sql server. What else could be?
>
> Thank you for your help.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>




--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to