ODBC Registerpage V2

Page 1 of 7 1234567 LastLast
Results 1 to 15 of 94
  1. #1
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    ODBC Registerpage V2

    I was bored and i still had the basics of the prevorious so i thought ... why not create a better regpage then the current ones.

    Features:
    - You can easiliy put YOUR servername in it. (Just edit $servername)
    - Same for the Account and Login table. ($accounttable and $logintable)
    - IP Banning manually. (No database, just a matter of removing comment lines and putting the IP in it.)
    - Banned Accounts are IP blocked. So if you ban someone, they can't register again under the same IP Address they've played with.
    - E-mail check. No more fake emails.
    - Age check. Checks if the age if numeric.
    - It checks the Username and Email. If they're already in the database, an error message appears.

    Tutorial:
    1) Unpack the .rar (Duhhh)
    2) Put the regpage in your www folder. (Or htdocs, w/e.)
    3) Edit the variables at the top. (Servername, accounttable and logintable).
    4) Edit the ODBC connection.
    5) There is no 5th step. You're done!

    This will be the last PHP script from me, apart from the shop i'm working on. I'm done with GunZ, i was just bored. Don't expect me to help you via PM with errors. (Apart from errors with this script).

    I guess i'm clear about my copyright. If you don't want the copyright, then don't use this regpage. Easy enough.
    Attached Files Attached Files


  2. #2
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: ODBC Registerpage V2

    nice release Wizkid 10/10

  3. #3
    Account Upgraded | Title Enabled! Hymn is offline
    MemberRank
    Jan 2007 Join Date
    269Posts

    Re: ODBC Registerpage V2

    Waiting for a website register script, which will never happen because ODBC kinda sucks for that stuff.

  4. #4
    Account Upgraded | Title Enabled! faytman is offline
    MemberRank
    Oct 2008 Join Date
    690Posts

    Re: ODBC Registerpage V2

    i likey =]
    9/10, since u did it when u were bored,
    so u might of been able to add another feature xD

  5. #5
    RestyleGamerZ FTW Mambo is offline
    MemberRank
    Mar 2008 Join Date
    The NetherlandsLocation
    821Posts

    Re: ODBC Registerpage V2

    Nice features are on it! 8/10

  6. #6
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    Re: ODBC Registerpage V2

    Quote Originally Posted by Hymn View Post
    Waiting for a website register script, which will never happen because ODBC kinda sucks for that stuff.
    Bwah. It works fine. It's the easiest way of connecting a MSSQL db.

    Quote Originally Posted by faytman View Post
    i likey =]
    9/10, since u did it when u were bored,
    so u might of been able to add another feature xD
    I'm lazy at the same time.

  7. #7
    Status: Pooping eele is offline
    MemberRank
    Jul 2008 Join Date
    The NetherlandsLocation
    915Posts

    Re: ODBC Registerpage V2

    Nice Master "P" :P

  8. #8
    Status: Pooping eele is offline
    MemberRank
    Jul 2008 Join Date
    The NetherlandsLocation
    915Posts

    Re: ODBC Registerpage V2

    Quote Originally Posted by Hymn View Post
    Waiting for a website register script, which will never happen because ODBC kinda sucks for that stuff.
    ODBC is the Best connection For a Site and a DB :D Troubles pm me :P

  9. #9
    Mako is insane. ThePhailure772 is offline
    MemberRank
    Sep 2007 Join Date
    1,115Posts

    Re: ODBC Registerpage V2

    SQL Injectable, kthx.

  10. #10
    Account Upgraded | Title Enabled! Hymn is offline
    MemberRank
    Jan 2007 Join Date
    269Posts

    Re: ODBC Registerpage V2

    Not what I meant. ODBC sucks for remote connections from outside sources, for instance, an actual website? You can use iframes and links to link to your hosted files (via apache or someshit) but its still not a remote connection meaning you cant create scripts which link forums and the gunz database together, which would be awesome.

  11. #11
    Enthusiast tancam is offline
    MemberRank
    Aug 2008 Join Date
    Pasadena CALocation
    47Posts

    Re: ODBC Registerpage V2

    wat do I edit in the ODBC Connect Im Kinda a Newb Sorry :D Please Help

  12. #12
    Banned MAXTRAXv3 is offline
    BannedRank
    Jan 2007 Join Date
    Perth, WesternLocation
    2,252Posts

    Re: ODBC Registerpage V2

    open start click run(for vista users just click start then click on the seach bar at the buttom of the start menu) then type: odbcad32

    you should alredy have a GunzDB in user DSN
    you now need to make one in system DSN so click that tab then
    click on 'Add'. Another window should pop-up. You'll have to scroll all the way down to the bottom and select 'SQL Server' then click 'Finish'.

    Another window/form will pop-up needing information for your Data Source. For the name, type 'GunzDB', for the description you may type whatever you like, but for the SQL server you which to connect to, you must go back into SMSE*, look in the SQL Editor tool bar and click the 2nd icon which will disconnect you from data engine. Now click the 1st icon which will re-connect you, but make sure to copy the 'Server name' this time, then click 'Connect'.

    Now having that in hand, you can go back to creating your ODBC and in the 'Server' text input, paste in your server name. Click next since the settings are currently fine. Now in the next part, click on the tick box and select 'GunzDB' from the drop-down menu and click 'Next' and finally click 'Finish'.

    If you would like to check your data source, click 'Test Data Source...' in the window or you can just click 'OK' to finish. Now to completely finish it, click 'OK' again.

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

    Re: ODBC Registerpage V2

    Quote Originally Posted by wesman2232 View Post
    nice release Wizkid 10/10
    period

  14. #14
    Enthusiast markuzz is offline
    MemberRank
    Nov 2007 Join Date
    44Posts

    Re: ODBC Registerpage V2

    Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]La conversione del tipo di dati da char a datetime ha generato un valore di tipo datetime non compreso nell'intervallo dei valori consentiti., SQL state 22008 in SQLExecDirect in C:\wamp2\www\index.php on line 176

  15. #15
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    Re: ODBC Registerpage V2

    Make RegDate varchar(50). (Modify the Account table)



Page 1 of 7 1234567 LastLast

Advertisement