mssql_select_db() Error

Results 1 to 12 of 12
  1. #1
    Developer Eronisch is offline
    MemberRank
    Jul 2009 Join Date
    The NetherlandsLocation
    1,328Posts

    mssql_select_db() Error

    Hey,
    If i want to make an register page,
    i always get:
    mssql_select_db() function.mssql-select-db'>function.mssql-select-db Unable to connect to server: in <b>C:\xampp\htdocs\register\register.php

    The details in the config.ini are correct:
    I tryed without the SQLEXPRESS and with
    Code:
    <? 
    $Title = 'GunZ'; // Website title page !
    $Title2 = 'GunZ REGISTRATION PAGE'; // Your GunZ Name - Registration Page !
    $DBHost = 'ITS-E953E8C605D'; // MSSQL Host : ....\SQLEXPRESS
    $DBUser = 'sa'; // MSSQL User
    $DBPass = 'mypassword'; // MSSQL Password
    $DB = 'GunzDB'; // Gunz Database Name
    
    $conn = mssql_connect($DBHost, $DBUser, $DBPass); // DONT CHANGE THIS //
    mssql_select_db($DB); // DONT CHANGE THIS //
    ?>
    and i tryed the fix from Kyuma,
    And i created the obdc Data source too, That works because i can start the matchserver etc.
    But still didn't work.
    Does anyon have a solution?
    Last edited by Eronisch; 14-11-09 at 10:40 AM.


  2. #2
    Account Upgraded | Title Enabled! hotgame is offline
    MemberRank
    Mar 2009 Join Date
    CanadaLocation
    305Posts

    Re: mssql_select_db() Error

    install Appserv .

  3. #3
    Developer Eronisch is offline
    MemberRank
    Jul 2009 Join Date
    The NetherlandsLocation
    1,328Posts

    Re: mssql_select_db() Error

    What is AppServ?
    Anyon know how to fix this?

    Edit: Still same problem with AppServ.
    Last edited by Eronisch; 14-11-09 at 11:42 AM.

  4. #4
    Account Upgraded | Title Enabled! hotgame is offline
    MemberRank
    Mar 2009 Join Date
    CanadaLocation
    305Posts

    Re: mssql_select_db() Error

    Download Appserv http://www.appservnetwork.com/

    http://www.mediafire.com/?juqjjdxymd4

    REPLCE THE Files in your Appserv

    go to C:/AppServ/php6

    and replace the DLL File


    go to C:/AppServ/Apache2.2
    and replace the DLL File

    THE PHP.INI IS Located in The WINDOWS Folder

    After you have replace the files restart your computer or restart Appserv

  5. #5
    Developer Eronisch is offline
    MemberRank
    Jul 2009 Join Date
    The NetherlandsLocation
    1,328Posts

    Re: mssql_select_db() Error

    Already did, still dun work.
    I still have: function mssql_connect()
    I tryed Xampp, Wamp, AppServ.
    Does anyon have a solution?
    Last edited by Eronisch; 14-11-09 at 12:13 PM.

  6. #6
    Account Upgraded | Title Enabled! randy1234 is offline
    MemberRank
    Mar 2009 Join Date
    SingaporeLocation
    1,196Posts

    Re: mssql_select_db() Error

    Quote Originally Posted by hotgame View Post
    Download Appserv http://www.appservnetwork.com/

    http://www.mediafire.com/?juqjjdxymd4

    REPLCE THE Files in your Appserv

    go to C:/AppServ/php6

    and replace the DLL File


    go to C:/AppServ/Apache2.2
    and replace the DLL File

    THE PHP.INI IS Located in The WINDOWS Folder

    After you have replace the files restart your computer or restart Appserv

    fucker I MADE THAT DONT FUCKING STEAL IT FUCKER

    GO DIE NOOB FUCK OFF

    HERES THE PROVE:

    http://forum.ragezone.com/f497/tut-f...errors-621565/

  7. #7
    Developer Eronisch is offline
    MemberRank
    Jul 2009 Join Date
    The NetherlandsLocation
    1,328Posts

    Re: mssql_select_db() Error

    Jezus, Calm down..
    We know you made it.
    But anyon has a solution?

  8. #8
    Account Upgraded | Title Enabled! randy1234 is offline
    MemberRank
    Mar 2009 Join Date
    SingaporeLocation
    1,196Posts

    Re: mssql_select_db() Error

    Show me a Screenshort of that error

  9. #9
    Developer Eronisch is offline
    MemberRank
    Jul 2009 Join Date
    The NetherlandsLocation
    1,328Posts
    Last edited by Eronisch; 14-11-09 at 12:24 PM.

  10. #10
    Account Upgraded | Title Enabled! randy1234 is offline
    MemberRank
    Mar 2009 Join Date
    SingaporeLocation
    1,196Posts

    Re: mssql_select_db() Error

    Erm..

    i tot u use a Regpage?

    so what You want to use NOW?

    u are using wampserver

    UNINSTALL IT AND USE APPSERV

    http://forum.ragezone.com/f497/tut-f...5/#post5358114
    Last edited by randy1234; 14-11-09 at 12:26 PM.

  11. #11
    Developer Eronisch is offline
    MemberRank
    Jul 2009 Join Date
    The NetherlandsLocation
    1,328Posts

    Re: mssql_select_db() Error

    With AppServ i have the same problem,
    and with your fix too,
    Except there is no php.ini in the WINDOWS file or in c:appserv.

    I just want the register page to work >.<

  12. #12
    Account Upgraded | Title Enabled! randy1234 is offline
    MemberRank
    Mar 2009 Join Date
    SingaporeLocation
    1,196Posts

    Re: mssql_select_db() Error

    REmoved
    Last edited by randy1234; 14-11-09 at 03:12 PM.



Advertisement