Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: mssql_close()

  1. #1
    New to the CF scene
    Join Date
    Jul 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    mssql_close()

    I am having trouble running mssql_close() function on PHP 4.3.4 on Windows 2000, to connect to SQL Server 2000 on a Windows 200 across the LAN. Although it works fine when running with the browser, it fails when i try to run it from the command line...

    if (mssql_connect('***.**.*.**','','')==false )
    {

    fwrite($fh_logfile,date("Y-m-d H:i:s")." - Não foi possivel estabelecer a ligação à base de dados\n") or die("Couldn't write to file. 6");
    fclose($fh_logfile);
    die("Não foi possivekl estabelcer ligaçao à base de dados.");
    }

    Do i need to configure something on ISS?

    Thanks in advance!

  • #2
    Regular Coder ttttt's Avatar
    Join Date
    Oct 2005
    Posts
    372
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This is the wrong forum. Ask a mod to delete/move this post. The MySQL forum is the place to ask.
    ttttt
    http://openoffice.org/- Microsoft Office without the Microsoft.
    [home page][forum]
    Versatile, free software


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •