im trying to make a log in page..can someone help me get started please? thanks
Printable View
im trying to make a log in page..can someone help me get started please? thanks
BrianA:
I am sure you know what you mean, but it would help us to help you if you would give a little more information.Quote:
log in page
What are you login into? An application, a Web page, etc,,,,,
How are you going to handle your User Names and Passwords?
Store them in a database?
What kind of database?
Information such as the above would really help.
Good Luck
To get a better idea of what you are needing, Are you using a database/textfile/registry setting or anything to store usernames and passwords or are you going to have it hard coded?
well the problem is i dont know how to use database and stuff...im trying to create a chatroom..when you log in it will send you to the chat box and stuff and i have no idea how to do that..thx for the help guysQuote:
Originally Posted by AIS4U
Here is a real quick example using an Access database and ADO
Quote:
Originally Posted by Capp
wow nice..thanks:)
Quote:
Originally Posted by BrainA
You're quite welcome. That is a very similar format that I use on most of my programs. A few things changed around here for the ones that require a secure login, but that is a very basic plain-jane loging page.
Assuming, of course, that you setup your Access database the same way I did.
I hope it helps anyway :)
can you show me how to setup a database please? thanks a lot!Quote:
Originally Posted by Capp
That can be a little more complex based on what all you are needing. I don't have a demo database I can upload to show you how one looks. Without sounding too vague, you should try and do a search on the forums here for using ADO and an Access database.Quote:
Originally Posted by BrainA
I'll see if I can find a good tutorial and post it for you.
Quote:
Originally Posted by Capp
okay sounds good..thank you so much for you help really appreciate it!:)
Without really understanding how a database works and what you are looking at, im not sure how much this will help but I dumbed down the database that goes with that login form I showed you.
It's in a .zip file so you'll have to unzip it.
Basically there is the "Key" column in every database. This is the Unique Identifier and in this database, it is "id". I have it set to AutoNumber that way anytime a new record is added, it auto-increments and keeps all the id's unique.
okay! thank you so much!:)Quote:
Originally Posted by Capp