Simple Login HTML page by using MySQL

Hi,

I want to create a very simple HTML application - a login page

Page 1 (index.html)

this page has two input fields
user name and password and a submit button

When an user input his user name and password, if success, it will go to next page2 (login_sucess.html)

The user database is stored in MySQL

Anybody can give me a sample code for above purpose??
wasabi3689Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PhatzerCommented:
I'd suggest you look in to the possiblity of PHP for this type of function, it can handle their login details throughout their session on your site too (providing the functionality is there)...

Take a look around for 'PHP login script' and you might find something useful. If you don't have PHP or an alternative language, I think you will be very restricted.

I'm not sure myself but I'm sure there's no way to do this type of operation with HTML alone.
0
wasabi3689Author Commented:
if use Php, can you tell the sample code for above purpose? I am using MySQL, also how to write the connection code to connect to MySQL?

I don't have experience in Php
0
PhatzerCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

wasabi3689Author Commented:
I use above link's files to create a login project. I am using Sun Java Web server. I don't know how to configure it. Can you help?
0
jakobherrmannCommented:
If you're interested in doing it in ASP then I could help. Just let me know.
0
wasabi3689Author Commented:
I am also interested in doing this in Java/JSP.using MySQL database.

How to write this sample and how to develop connection to mySQL

MySQL is located in my local dir
the database is Login
0
Loganathan NatarajanLAMP DeveloperCommented:
0
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.