-
Enthusiast
I Can't connect to my WEB
my web it says:
Fatal error: Call to undefined function mssql_pconnect() in C:\xampp\htdocs\conec.php on line 5
this code:
global $link;
if (!($link = mssql_pconnect("RADIANTECF1","sa","simeimporta")))
I change it but still can't connect
:
<?php
function Conectarse()
{
global $link;
if (!($link = mssql_pconnect("C-1\SQLEXPRESS","sa","123456")))
{
exit();
}
if (!mssql_select_db("UserLogin",$link))
{
exit();
}
return $link;
}
Conectarse();
$accdir="C:\\Server\\DBSRV\\account"; //Escribe aqui el directorio donde se guardaran tus cuentas.
$usergmail = "AQUI TU@EMAIL.com"; //Escribe aqui tu dirección de Gmail.
$passgmail = "AQUI TU CONTRASEÑA"; //Escribe aqui la contraseña de tu cuenta Gmail.
$tweb = "Tantra GT"; //Aqui el nombre de tu web o servidor.
$dominio = "tantra-gt.laweb.es"; //Escribe aqui el nombre de tu dominio sin el "http://"
?>
please Help me !!!!
-
-
Apprentice
Re: I Can't connect to my WEB
-
Enthusiast
Re: I Can't connect to my WEB
|This is the line 5
this code:
global $link;
if (!($link = mssql_pconnect("RADIANTECF1","sa","simeimporta")))
and change it to this
global $link;
if (!($link = mssql_pconnect("C-1\SQLEXPRESS","sa","123456")))
but still won't work 
can someone show me how to connect it please