• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1714
  • Last Modified:

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??
0
wasabi3689
Asked:
wasabi3689
  • 3
  • 2
  • 2
  • +3
3 Solutions
 
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 3
  • 2
  • 2
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now