I Can't connect to my WEB

Results 1 to 3 of 3
  1. #1
    Enthusiast makong is offline
    MemberRank
    Dec 2007 Join Date
    40Posts

    shout 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 !!!!


  2. #2
    Apprentice Fixtures is offline
    MemberRank
    Jul 2010 Join Date
    17Posts

    Re: I Can't connect to my WEB

    check at line 5

  3. #3
    Enthusiast makong is offline
    MemberRank
    Dec 2007 Join Date
    40Posts

    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



Advertisement