Closed Thread
Results 1 to 2 of 2

Thread: Login Help

  1. #1
    brokenbylaw's Avatar
    brokenbylaw is offline Learning Programmer
    Join Date
    Dec 2009
    Posts
    62
    Rep Power
    0

    Login Help

    i wroe ths login and i was wonring if you guyys cal hellpp me wif it

    Code:
    <?php
    
    $password = $_GET['password'];
    $concords = "sam is a password";
    $concords = str_replace(" ","thisISbull****", $concords);
    $concords = strtolower($concords);
    $submitted = $_GET['sbool'];
    if ($submitted == "true"){
    
    	if($password != $concords && $password != "#"){
    	echo "<b>Password:</b> <input type="text" value='$password'> <b>Was incorct!</b>";
    	} else{
    			echo "correct!";
    		  ;
    } else{
    
    echo "
    <form action='stes.php' method='get'>
    <input type='text' name='password'>
    <input type='hidden' value='true' name='sbool'>
    <input type='submit' value='login'>
    
    </form>
    ";
    }
    ?>

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Bioshox is offline Programmer
    Join Date
    Oct 2009
    Location
    Manchester, UK
    Posts
    196
    Rep Power
    10

    Re: Login Help

    What exactly is wrong with it?

    A little more information please .

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. php login
    By akintunde in forum PHP Development
    Replies: 5
    Last Post: 04-22-2011, 09:24 PM
  2. login
    By kirigwajoe in forum PHP Development
    Replies: 7
    Last Post: 01-30-2011, 03:43 PM
  3. PHP [login]
    By nikabika97 in forum PHP Development
    Replies: 3
    Last Post: 10-15-2010, 05:17 AM
  4. login.php
    By gwopboi in forum PHP Development
    Replies: 13
    Last Post: 03-26-2010, 12:00 PM
  5. Login
    By Nightmare in forum PHP Development
    Replies: 7
    Last Post: 10-25-2009, 12:16 PM

Tags for this Thread

Bookmarks

Posting Permissions

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