[Help] Register page now working

Results 1 to 9 of 9
  1. #1
    Infraction Banned Shuffle is offline
    MemberRank
    Nov 2006 Join Date
    51Posts

    [Help] Register page now working

    EDIT: I screwed up on my title and put "now working" its "NOT working"


    Hi i made a register page using the Xampp thing and i get this error

    Fatal error: Call to undefined function: mssql_connect() in c:\appserv\www\config.php on line 9

    This is my config.php...

    <?
    $Title = 'GunZ'; // Website title
    $Title2 = ''; // Second part of the title.
    $DBHost = 'NICK\SQLEXPRESS'; //The host of your DB (I.E: MACHINE\SQL2005)
    $DBUser = 'sa'; //Your DB User
    $DBPass = ''; //Your DB Password
    $DB = 'GunzDB'; //Your GunZ DB

    $conn = mssql_connect($DBHost, $DBUser, $DBPass); // DONT CHANGE THIS //
    mssql_select_db($DB); // DONT CHANGE THIS //
    ?>


    Whats wrong?


  2. #2
    Account Upgraded | Title Enabled! UkRaiNeR is offline
    MemberRank
    Sep 2006 Join Date
    US/UkraineLocation
    352Posts

    Re: [Help] Register page now working

    if u have no pass just leave user "" black too, that wat i do, it worked


    btw use xampp it will be alot easier, u wount have that problem, appserv suks xD

  3. #3
    Infraction Banned Shuffle is offline
    MemberRank
    Nov 2006 Join Date
    51Posts

    Re: [Help] Register page now working

    Lol did you even read the post? I said i was using Xampp and theres no password in the ""

  4. #4
    Infraction Banned Shuffle is offline
    MemberRank
    Nov 2006 Join Date
    51Posts

    Re: [Help] Register page now working

    Any help please?

  5. #5
    Novice reaper646 is offline
    MemberRank
    Nov 2006 Join Date
    2Posts

    Re: [Help] Register page now working

    As follows is what it should actually look like to work

    <?
    $Title = 'GunZ'; // Website title
    $Title2 = ''; // Second part of the title.
    $DBHost = 'NICK\SQLEXPRESS'; //The host of your DB (I.E: MACHINE\SQL2005)
    $DBUser = ''; //Your DB User If You Don't Use Windows Auth.
    $DBPass = ''; //Your DB Password If You Don't Use Windows Auth.
    $DB = 'GunzDB'; //Your GunZ DB

    $conn = mssql_connect($DBHost, $DBUser, $DBPass); // DONT CHANGE THIS //
    mssql_select_db($DB); // DONT CHANGE THIS //
    ?>


    Another thing.... Make sure your running MatchServer.exe and your msql server 2005 is open to GunZDB but with no tables open... Make sure all ips match and on register page (if you got the same register.php i did) Down at the bottom should say: Registration Failed! and the Server: Online
    An any case you do get this....open register.php in notepad and scroll down until you get to Registration Failed! and change it to Registration Complete. Also if you have an email field in your register.php make sure that a column for email is in the account table in your GunZDB. If you have the column and its in the register.php please take note that I found an error an a code partaining to the email sumbit....If you scoll down to about 3/4 of the way down...or line 93 or something like that....You should see a code about user, pass, and E_Mail...
    Edit the E_Mail to EMail and it will submit Correctly!
    If anyone else need help to just get the register page running...contact me on msn at reaper_backgammon@hotmail.com

  6. #6
    Infraction Banned Shuffle is offline
    MemberRank
    Nov 2006 Join Date
    51Posts

    Re: [Help] Register page now working

    i added you, add ownagekilla666@live.com

  7. #7
    Novice reaper646 is offline
    MemberRank
    Nov 2006 Join Date
    2Posts

    Re: [Help] Register page now working

    i would add you but i didn't get window from you wanting to add me and i can't just go to add contact on msn cause when i do...all i see is the side bar with nothing actually in the window (its all blank and invisible)
    Last edited by reaper646; 17-07-07 at 05:31 AM. Reason: i got it fixed and i added u

  8. #8
    Infraction Banned Shuffle is offline
    MemberRank
    Nov 2006 Join Date
    51Posts

    Re: [Help] Register page now working

    login to msn and we can talk.

  9. #9
    Apprentice Grozz is offline
    MemberRank
    Jan 2007 Join Date
    18Posts

    Re: [Help] Register page now working

    Call to undefined function: mssql_connect() means ur php haven't loaded mssql extension, add it in your php.ini in extensions list and check for ntwdblib.dll in ur apache folder.



Advertisement