Click here to Skip to main content
15,888,129 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to make my admin web page so that it has one set of login credentials already set in. This is so when I log in, it can check against that to see if I have matched the saved credentials. Is there a way to add this to the IndexedDB storage from the code upon launching the webpage? How would I code this?

This is my code so far:
<div id="container">
<form action="login.php" method="get">
	Username:<br>
	<input type="text" name="username" required="required"> <br>
		
	Password:<br>
	<input type="password" name="password" required="required"> <br><br>
		
	<input type="submit" value="Login">
</form><br>


What I have tried:

I am new to HTML so am not sure what to try...
Any help will be greatly appriciated
Posted
Comments
Richard MacCutchan 28-Nov-18 5:30am    
You should not be using clear text for your passwords.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900