[Release] Simple Register Page for the orginal Database

Page 1 of 5 12345 LastLast
Results 1 to 15 of 62
  1. #1
    The beer?? Its here !!! Rotana is offline
    MemberRank
    Jan 2007 Join Date
    The NetherlandsLocation
    1,733Posts

    [Release] Simple Register Page for the orginal Database

    I made this simple register page for the orginal database. [it wont work with the older databases]

    How to use:
    1> Download it.
    2> Place the files in your root folder.
    1. For wamp is that c:\wamp\www
    2. For xampp is that c:\xampp\htdocs
    3> Edit the config.php to your settings.
    Run it and have fun with it

    If there is an error..
    • Make sure your mssql is enabled
    • Make sure you have the right settings in the config.php
    • Make sure that your webserver and mssql_server are running
    It free to edit to what ever you want...

    UPDATE: for ODBC Connection.
    Code:
    <?
    $DBHost = 'GunzDB'; //The DNSname of your DB (I.E: GunzDB)
    $DBUser = 'game'; //Your DB User 
    $DBPass = 'test'; //Your DB Password 
    $conn = odbc_connect($DBHost, $DBUser, $DBPass);
    ?>
    delete all in the config.php and pleace this in the config.php
    Attached Files Attached Files
    Last edited by Rotana; 23-02-08 at 01:43 PM.


  2. #2
    Member phpbb88 is offline
    MemberRank
    Jan 2007 Join Date
    Hong KongLocation
    74Posts

    Re: [Release] Simple Register Page for the orginal Database

    nice man.
    But I dont know what is the age of my DB lol.

  3. #3
    The beer?? Its here !!! Rotana is offline
    MemberRank
    Jan 2007 Join Date
    The NetherlandsLocation
    1,733Posts

    Re: [Release] Simple Register Page for the orginal Database

    Quote Originally Posted by phpbb88 View Post
    nice man.
    But I dont know what is the age of my DB lol.
    The age of your Database?? I think you mean the age on the registerpage. Thats how old you are...

  4. #4
    Account Upgraded | Title Enabled! kochon is offline
    MemberRank
    Nov 2006 Join Date
    MontrealLocation
    1,451Posts

    Re: [Release] Simple Register Page for the orginal Database

    Rotana i always wonder why you're not getting a moderator or whatever, you give soooo much stuff to the GunZ community!

    thank you for all you do! great release

  5. #5
    The beer?? Its here !!! Rotana is offline
    MemberRank
    Jan 2007 Join Date
    The NetherlandsLocation
    1,733Posts

    Re: [Release] Simple Register Page for the orginal Database

    Quote Originally Posted by kochon View Post
    Rotana i always wonder why you're not getting a moderator or whatever, you give soooo much stuff to the GunZ community!

    thank you for all you do! great release
    Maybe someone can suggest me to the owner or other mods?

  6. #6
    Account Upgraded | Title Enabled! RepublicOfAstra is offline
    MemberRank
    Dec 2006 Join Date
    1,122Posts

    Re: [Release] Simple Register Page for the orginal Database

    Nothing against Rotana. It's just that we already have 3 mods (But two are inactive -_-) and the Gunz section is easy enough to handle with just one. HAving 4 wouldn't make any sense.

  7. #7
    The beer?? Its here !!! Rotana is offline
    MemberRank
    Jan 2007 Join Date
    The NetherlandsLocation
    1,733Posts

    Re: [Release] Simple Register Page for the orginal Database

    Quote Originally Posted by RepublicOfAstra View Post
    Nothing against Rotana. It's just that we already have 3 mods (But two are inactive -_-) and the Gunz section is easy enough to handle with just one. HAving 4 wouldn't make any sense.
    I know but when its needed...

  8. #8
    Valued Member Khanna is offline
    MemberRank
    Jun 2007 Join Date
    New York, USALocation
    142Posts

    Re: [Release] Simple Register Page for the orginal Database

    Rotana. Great work, your one of my top tutorial givers. I have a problem:


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


    uhm.... what? o.o



    heres my stuff:


    <?
    $Title = 'Gunz';
    $Title2 = 'Full items, premiums for free and all modes';
    $DBHost = '*Server*';
    $DBUser = '*name*';
    $DBPass = '*password*';
    $DB = 'GunzDB';

    $conn = mssql_connect($DBHost, $DBUser, $DBPass);
    mssql_select_db($DB);
    ?>

    i blocked out the things i didnt want anyone to see/know.

  9. #9
    The beer?? Its here !!! Rotana is offline
    MemberRank
    Jan 2007 Join Date
    The NetherlandsLocation
    1,733Posts

    Re: [Release] Simple Register Page for the orginal Database

    I think you dont have the mssql enabled in the php.ini..

    I personally prefer Xampp, i dont have alot of trouble with it. And the mssql is already enabled. Only it needs an newer version of the ntwdblib.dll

  10. #10
    Valued Member Khanna is offline
    MemberRank
    Jun 2007 Join Date
    New York, USALocation
    142Posts

    Re: [Release] Simple Register Page for the orginal Database

    I have it enabled as far as i know. I guess ill try Xampp. Also Rotana since you know a lot, can you post in my other thread? I need some help with a Qesting problem and no one will post. I have 2, one a moderator closed and then a new one with my mlog.xml in it. Please i really want it up and running.

    Thanks again

    -A Fan of your work, Khanna

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

    Re: [Release] Simple Register Page for the orginal Database

    im gettin an error
    Fatal error: Call to undefined function mssql_select_db() in C:\wamp\www\register.php on line 3

  12. #12
    The beer?? Its here !!! Rotana is offline
    MemberRank
    Jan 2007 Join Date
    The NetherlandsLocation
    1,733Posts

    Re: [Release] Simple Register Page for the orginal Database

    Quote Originally Posted by UkRaiNeR View Post
    im gettin an error
    You probelly dont have the mssql enabled in your php.ini..

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

    Re: [Release] Simple Register Page for the orginal Database

    SQL Server Browser = Stopped
    SQL Server (SQLEXPRESS) = Running

    should i turn the SQL Server Browser too?

    EDIT: ps i cant turn it on
    Last edited by UkRaiNeR; 02-07-07 at 08:15 PM.

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

    Re: [Release] Simple Register Page for the orginal Database

    nvm... i switch to xampp, it worked but when actually register user it doesn't go to database i think, because in gunz i cant login :/ its says "check user & pas"



  15. #15
    Account Upgraded | Title Enabled! Kingston is offline
    MemberRank
    Jun 2007 Join Date
    601Posts

    Re: [Release] Simple Register Page for the orginal Database

    Herman does this still work if my SQL is not in sa mode?



Page 1 of 5 12345 LastLast

Advertisement