Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jun 2008
    Location
    England, On a beach somewhere
    Posts
    2,483
    Tokens
    691

    Latest Awards:

    Cool How do I make a Login Page? [SIMPLE]

    Hey guys! I need to know how to make a login panel, that is quite simple. If anyone could help me I would be really happy. +REP for Help!

  2. #2
    Join Date
    Jul 2007
    Location
    UK
    Posts
    2,470
    Tokens
    2,975

    Latest Awards:


  3. #3
    Join Date
    Jun 2008
    Location
    England, On a beach somewhere
    Posts
    2,483
    Tokens
    691

    Latest Awards:

    Default

    thanks for that, but where do I download it?

  4. #4
    Join Date
    Jul 2004
    Location
    California
    Posts
    8,725
    Tokens
    3,789
    Habbo
    HotelUser

    Latest Awards:

    Default

    Quote Originally Posted by Mickword View Post
    thanks for that, but where do I download it?
    Spoon fed: http://www.phptoys.com/download.php?view.19
    I'm not crazy, ask my toaster.

  5. #5
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Quote Originally Posted by Mickword View Post
    thanks for that, but where do I download it?
    You said make a login page, not download a login page.

  6. #6
    Join Date
    Jun 2008
    Location
    England, On a beach somewhere
    Posts
    2,483
    Tokens
    691

    Latest Awards:

    Default

    Yeah, I know but ether doesn't matter.

  7. #7
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Yeah it does, you asked how to make one.. downloading and making one are two separate things.

  8. #8
    Join Date
    Aug 2009
    Posts
    20
    Tokens
    0

    Default

    Learn a language PHP is probably the best for multiple logins with the use of mysql, you can also use PHP to create a simple login which gets the information locally (stored in the page) or use different languages such as javascript where you can use cookies to log in. I suggest PHP and sessions for some PHP help..

    Code:
    <?php
    session_start();
    $username = "Admin";
    $password = "Password";
    
    if (isset($_POST['login']) && ($_POST['username'] == $username && $_POST['username'] == $username)) {
    $_SESSION['username'] = $username;
    } else {
    echo "Sorry, wrong details!";
    }
    ?>
    Hopefully that will get you started also there is no form.. read up about PHP and HTML especially HTML Forms..

    Goodluck

  9. #9
    Join Date
    Apr 2009
    Location
    United Kingdom
    Posts
    1,111
    Tokens
    100

    Latest Awards:

    Default

    Quote Originally Posted by BigAlan View Post
    Learn a language PHP is probably the best for multiple logins with the use of mysql, you can also use PHP to create a simple login which gets the information locally (stored in the page) or use different languages such as javascript where you can use cookies to log in. I suggest PHP and sessions for some PHP help..

    Code:
    <?php
    session_start();
    $username = "Admin";
    $password = "Password";
    
    if (isset($_POST['login']) && ($_POST['username'] == $username && $_POST['username'] == $username)) {
    $_SESSION['username'] = $username;
    } else {
    echo "Sorry, wrong details!";
    }
    ?>
    Hopefully that will get you started also there is no form.. read up about PHP and HTML especially HTML Forms..

    Goodluck
    Hey, why do you check username twice?

  10. #10
    Join Date
    Apr 2008
    Location
    Derby
    Posts
    4,668
    Tokens
    262

    Latest Awards:

    Default

    He's made a a very simple one that has a set password, not MySQL So he's checking that the username is the same as the variables and then that they match up with the two they should be. I think?

Page 1 of 2 12 LastLast

Posting Permissions

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