www.webdeveloper.com
Results 1 to 6 of 6

Thread: user logins on websites

  1. #1
    Join Date
    Feb 2006
    Location
    England
    Posts
    5

    user logins on websites

    a mate of mine is making a website for his cousin in html i think, and asked me if i knew how to make a login system for it. i said that it would take more than html to do, but i dont know any more than that.

    i was wondering if anyone could give me some ideas or point me in the right direction.

    much obliged
    If its not HTML, im a n00b.

  2. #2
    Join Date
    Oct 2005
    Posts
    843
    Hey, there are many different ways you could do a login but each of them require a server-side language. These being php, asp, jsp and others, again with that would require a database program like MySQL, SQL, etc. Each server-side works well with a specific database usually, and php works with with MySQL. If you arent interested to learn a server-side you could check out http://www.hotscripts.com and see if there are any scripts that interest you, but if you are Google is your friend. as well as this site does have server-side sections where you can ask questions.
    Welsh

  3. #3
    Join Date
    Feb 2006
    Location
    England
    Posts
    5
    cheers mate, ill pass it on to him and see what he says
    If its not HTML, im a n00b.

  4. #4
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    Server side scripting is only required for user initiated functions like password changes. You can protect a site with Basic Authentication against an id/password list maintained manually by the site owner.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

  5. #5
    Join Date
    Feb 2006
    Location
    England
    Posts
    5
    how would you go about doing that?

    im not sure he wants to manually add members and passwords etc, but ill ask him about it as well
    If its not HTML, im a n00b.

  6. #6
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    Basic Auth can run against an id/password file. The format depends on the server. Apache uses something like

    mylogin:mypass

    but 'mypass' will be encrypted. Apache comes with a utility for manipulating password files.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles