Results 1 to 8 of 8

Thread: Username Database Help

  1. #1

    Thread Starter
    Addicted Member Cyberflyz's Avatar
    Join Date
    Apr 2007
    Location
    Utah
    Posts
    165

    Username Database Help

    Hello,
    I was wondering, where can I learn how to make a login screen for my applcation that works.
    (example: Having a login like a website, but in application)

    And if someone could, would you please make me a demo application that has all I need to do it?

    -Thanks
    Cyberflyz

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Username Database Help

    Where are you planning on storing usernames and passwords?

    Are you going to allow users to create their own names and passwords or will you be assigned them?

  3. #3

    Thread Starter
    Addicted Member Cyberflyz's Avatar
    Join Date
    Apr 2007
    Location
    Utah
    Posts
    165

    Re: Username Database Help

    I wanted to store the usernames and passwords on a database on my servage hosting account. So that the usernames and passwords would be global. So If i added a chat system, they would all be able to talk to one another.

    And I will be allowing users to create their own account.
    - Cyberflyz

  4. #4
    Addicted Member
    Join Date
    Mar 2006
    Posts
    235

    Re: Username Database Help

    The first thing you need to do is set up a database. What database does you isp provide? mySQL? Sql Server?

    Who is your isp?

  5. #5

    Thread Starter
    Addicted Member Cyberflyz's Avatar
    Join Date
    Apr 2007
    Location
    Utah
    Posts
    165

    Re: Username Database Help

    Thank you very much for helping me out.
    My ISP database thing would be....Mysql
    And my ISP is Servage (Http://servage.net) That is my webhost.
    --Cyberflyz

  6. #6
    Addicted Member
    Join Date
    Mar 2006
    Posts
    235

    Re: Username Database Help

    What kind of application are you programming and what are you going to use?

    vb net? c#? php?

    As for your database, you will first need to know what tools your isp provides for you to create one. Some isp will not let you create the actual database yourself, but will require you to contect thier help desk to create it, others will let you create it directly. Once its created you will need to define what data you want to store in the tables that makes up the database.

    Have you ever programmed in a database before?

  7. #7

    Thread Starter
    Addicted Member Cyberflyz's Avatar
    Join Date
    Apr 2007
    Location
    Utah
    Posts
    165

    Re: Username Database Help

    Ok well, my ISP provides Mysql databases. I create them by just providing a username i want and a password. Then it creates a database call {What Evermy username is} and I connected with the Username I Provided and the password.

    I am creating this appliation in VB.net

    I have never programmed with Mysql

    And the program I am making is just a application you have to register to use. I will be adding a chat type of system to it later.

  8. #8
    Addicted Member
    Join Date
    Mar 2006
    Posts
    235

    Re: Username Database Help

    The first thing you need to do is created the actual database. You will need to read your isp help documentation to learn how to do this. Every isp is different. I use Apollo Hosting, under my old plan, I could create the database myself. When I upgraded my plan, I had to go through the help desk. Once my database was created, I was able to connect to the database and create tables with sql.

    You need to also find out what version of mySql they have.

    It sounds like all you want in the database is a user table. You may want to also stored some additional information beside usercode and password, such as name, email address, date and time you created the user record, maybe an active flag, that you can use to determine if the user is still allowed to use your application, this way you won't have to delete the user to stop them from using your application and you will have a history of past users.

    I would post another message to the group asking if anyone has set up a mySql database with "Servage" as part of the message title.

    Once you have the database setup, do a search for connecting to mySql. There are a lot of examples in the forums.

Posting Permissions

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



Click Here to Expand Forum to Full Width