+ Reply to Thread
Results 1 to 6 of 6

Thread: PHP Login

  1. #1
    davep86 is offline x10Hosting Member davep86 is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    4

    PHP Login

    What are some good ways to deal with login authentication on a PHP web site?

  2. #2
    VPmase's Avatar
    VPmase is offline x10 Elder VPmase is an unknown quantity at this point
    Join Date
    Nov 2007
    Location
    Dixon, IL, USA
    Posts
    914

    Re: PHP Login

    Elaborate on what you mean...

  3. #3
    Grandcruiser is offline x10 Sophmore Grandcruiser is an unknown quantity at this point
    Join Date
    Jun 2007
    Posts
    155

    Re: PHP Login

    I think he's looking for a login system.

    Deadlock

    Deadlock is already scripted so...you can use it if you want.

    How to Make a Login System for Your Website

    There's a guide if you want to write your own script.

  4. #4
    davep86 is offline x10Hosting Member davep86 is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    4

    Re: PHP Login

    Thanks Grandcruiser, that helps.

  5. #5
    mrkgg is offline x10Hosting Member mrkgg is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    59

    Re: PHP Login

    Thanks That's a great tip

  6. #6
    mattura's Avatar
    mattura is offline x10 Elder mattura is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    563

    Re: PHP Login

    The second link is not altogether secure...

    Code like this:
    PHP Code:
    $name $_POST['user'];
    $q_user mysql_query("SELECT * FROM USERS WHERE login='$name'"); 
    is susceptible to attacks such as SQL injection. The input is trusted completely, which is a bad idea.

    Also, it appears the passwords in the database are not encrypted, so any hacker, or database administrator can view all the passwords as plain text.

    If you use this at all, don't put anything important in it!!
    Just for learning purposes perhaps, until you realise all the security vulnerabilities.
    ----
    Life is a game. The conception is terrible but the graphics are amazing!
    matt.elementfx.com

+ Reply to Thread

Similar Threads

  1. [PHP] MySQL and PHP
    By Bryon in forum Tutorials
    Replies: 43
    Last Post: 03-24-2011, 07:27 AM
  2. Ever Been Suspended For Using PHP?
    By dragoneye_xp in forum Off Topic
    Replies: 26
    Last Post: 08-16-2009, 07:17 PM
  3. phpBB3 external login
    By caiol611 in forum Programming Help
    Replies: 11
    Last Post: 04-27-2008, 08:22 PM
  4. php login system help...
    By Agenator in forum Programming Help
    Replies: 7
    Last Post: 04-13-2008, 08:43 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers