SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Forums
SiteExperts.com Forums
All Discussions

SiteExperts Feedback
The Lounge
Dynamic HTML
Site Design/ Critiques
HTML and CSS
XML Technologies
The Wireless Internet
Internet Explorer
Microsoft .NET
The Server
Technical Support

Sponsored Links

User Groups : Forums : SiteExperts : HTML and CSS :

Previous DiscussionNext Discussion
 !HOW TO CREATE lOGIN BOX!

How Do You Create A login Box For A HTML Website?

Started By benjamin254 on Jun 26, 2005 at 3:14:26 AM
This message has been edited.

7 Response(s) | Reply

Earlier Replies | Replies 1 to 7 of 7 | Later Replies
Goto Page: 1
bod1467 on Jun 26, 2005 at 4:19:25 AM (# 1)

You don't -- at least not if you want any level of security. You can do it using forms, JavaScript and cookies but it will not be secure as everything will be client-side-based.


sunnweb on Jun 27, 2005 at 7:43:22 AM (# 2)

At the least you would want to use a JavaScript snippet here is one from my library.  In the future you may want to get into PHP and use a MySQL DataBase it is a lot more secure.

-----------CODE STARTS HERE-------------------------

<form>
<p>ENTER USER NAME :
  <input type="text" name="text2">
</p>
<p> ENTER PASSWORD :
<input type="password" name="text1">
  <input type="button" value="Check In" name="Submit" onclick=javascript:validate(text2.value,"Johnny",text1.value,"Woolf") >
</p>

</form>
<script language = "javascript">

function validate(text1,text2,text3,text4)
{
 if (text1==text2 && text3==text4)
 load('success.htm');
 else
 {
  load('failure.htm');
 }
}
function load(url)
{
 location.href=url;
}
</script>

 

--------------CODE ENDS HERE----------------------------------

Configuring the script

To change the login/password, change "Johnny" and "Woolf" inside the script, respectively. To change the destination URLs, modify "success.html" and "failure.html."

~Johnny  johnwoolf@sunnweb.com


username on Nov 20, 2007 at 11:40:51 PM (# 3)

umm... how do you add more usernames and passwords?


MHenke on Nov 21, 2007 at 12:18:09 AM (# 4)

Not at all. This script is utterly useless, so any effort to enhance it would be in vain.


forumkita on Apr 5, 2011 at 8:28:25 AM (# 5)
This message has been edited.


ENTER USER NAME :


ENTER PASSWORD :






sachuvaavaa100 on Apr 7, 2011 at 4:08:06 AM (# 6)

VOICE RESPOND ENGINE (VRE)        

 

Voice respond engine will use for transcription, for easy methods, the software will transcript audio files to word with a very least time; The Company can decrease number of employees and increase the line, now you can purchase with a lease expense and we will give 1 year maintenance. For more details please contact:

 


bod1467 on Apr 7, 2011 at 5:07:00 AM (# 7)

AHAHAHAHAHAHAHA ... SPAM NOOB!


Earlier Replies | Replies 1 to 7 of 7 | Later Replies
Goto Page: 1

To respond to a discussion, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password
Copyright 1997-2004 InsideDHTML.com, LLC. All rights reserved.