Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Banned
    Join Date
    Mar 2011
    Posts
    11
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Exclamation PHP Login Security

    Can anyone make this script any more secure ???
    It is for a Unique and One Off, New Business Branding Request, Contract and Response







    <?php

    // Define your username and password
    $username = "abizc";
    $password = "pa55word";

    if ($_POST['txtUsername'] != $username || $_POST['txtPassword'] != $password) {

    ?>

    <h1>Login</h1>

    <form name="form" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
    <p><label for="txtUsername">Username:</label>
    <br /><input type="text" title="Enter your Username" name="txtUsername" /></p>

    <p><label for="txtpassword">Password:</label>
    <br /><input type="password" title="Enter your password" name="txtPassword" /></p>

    <p><input type="submit" name="Submit" value="Login" /></p>

    </form>

    <?php

    }
    else {

    ?>

    <p style="font-size: 18px">Congratulations !</p>
    <p style="font-size: 18px">Your Business Branding Contract has been Accepted. If you are happy with the Deatails listed below and agree to the Terms, then please call us on 0123 456 789 to get started !</p>

    <?php

    }

    ?>

  • #2
    Banned
    Join Date
    Mar 2011
    Posts
    11
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Exclamation

    The webpage address is:

    http://www.abizc.co.uk/sj5g982s5h6.php


  •  

    Posting Permissions

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