Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2005
    Location
    Leicester
    Posts
    181
    Tokens
    0

    Default Help with login system

    I am making my own DJ Panel but the only bit i need is the login which i cannot do i would use techtus usersystem but dont now were to put the Panel on there can anyone help please :s

  2. #2
    Join Date
    May 2006
    Posts
    2
    Tokens
    0

    Default

    To make your own panel you need to know WHAT to do.

    For my login's i make this is the php code i use
    PHP Code:
    <?
    $user
    =$_POST['user'];
    $pass=$_POST['pass'];
     
    $check_username=mysql_query("SELECT * FROM `users` WHERE `username`='$user'");
    if(
    mysql_num_rows($check_username)==0){
        *
    Error for invalid username*
    } else {
        
    $check_password=mysql_query("SELECT * FROM `users` WHERE `username`='$user'");
        
    $password=mysql_fetch_array($check_password);
        if(
    md5($pass)==$password[password]){
            *
    User Logged in*
        } else {
            *
    Invalid Password for user*
        }
    }
    That Login script is for use with mysql so it might not help you but if you decide to use mysql use that

  3. #3
    Join Date
    May 2006
    Location
    Huntingdon (Cambridgeshire UK)
    Posts
    3,395
    Tokens
    0

    Latest Awards:

    Default

    That's always a good option. You culd always try phptuts although i think that got hacked.

    Try it anyway. www.phptuts.com

Posting Permissions

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