Login | Register | FAQ

Creating a member login system

+ Post a reply

2 posts Page 1 of 1

Creating a member login system

by Rafsan Ratul » Sun Jan 30, 2011 6:55 am

Hallo again,
I want to add a members login system for my new web site-"evilcrow.99k.org".How can i create the member login part with out any software.(Check out my new under construction site and tell me how it looks.Only 10% is completed)
User avatar

Rafsan Ratul

  • Posts: 20
  • Joined: Mon Dec 20, 2010 1:06 pm

Re: Creating a member login system

by HTML.net » Sun Jan 30, 2011 3:49 pm

A member login system requires some server side coding (like ASP or PHP).

But if you just need a very simple login system (without much security) you can use the javascript below:

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="da" lang="en">

<script type="text/javascript">

function CheckPassword() {
  var username=document.login.username.value;
  var password=document.login.password.value;
  location.href = username + password+'.htm';


<form method="post" action="ingen_javascript.htm"
  onsubmit="CheckPassword();return false;" name="login">
Username: <input type="text" name="username">
Password: <input type="password" name="password">
<input type="submit" value="log på"
  onclick="CheckPassword();return false;">


The script simply put the username and password together and sent you to the page with this name (eg. username: user001 and password: sesam will send you to the page user001sesam.htm).

I like your site. Except the logo - it looks very Nazi!?

- Andreas, HTML.net
User avatar

Site Admin

  • Posts: 1194
  • Joined: Sat Sep 11, 2010 11:24 am
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.

+ Post a reply

Page 1 of 1