Grow your CSS skills. Land your dream job.

Need easiest/best php login/logout with password/username replacement?

  • # December 12, 2012 at 7:42 pm

    Sure I could google and use trial and error forever but I was hoping you all could point me to your prefered go to script for this? Thanks!

    # December 12, 2012 at 7:43 pm

    Aka client login and out script

    # December 12, 2012 at 7:51 pm

    Here is a helpful link: http://bit.ly/VXIlcC =)

    And try the 3 link after you click it. Its not my preferred because I never needed one but looks good and it might help you.

    # December 12, 2012 at 10:10 pm

    Personally, I wouldn’t recommend any of those (on the first page).

    > Need easiest/best php login/logout with password/username replacement?

    “Easiest” and “best” are highly subjective requirements, and are almost certainly **meaningless** in terms of your actual goals.

    What do you mean by “replacement”?

    Beyond that, what is your actual goal and requirements?

    Is this for one page? Many? *Parts* of pages (different content based on authentication)? Does the user need to stay logged in throughout their session? Do you need “remember me” capability? Is the list of users determined by you, or do you need to accept registrations? What level of security do you need (are we protecting pet photos, or credit card numbers)? Do you need a control panel to add more users or manage their info? Do you need users to be able to update their usernames/passwords? Do you need a password recovery feature? Do you want to detect/prevent simultaneous logins? Are you using a database? Do you need to support SSL? Are there only two states (logged in/ logged out), or do you need more than one usergroup (e.g., “user” + “moderator” + “admin”)? Do you need re-authentication for sensitive actions?

    I could go on, but…

    We (in fact, *you*) need to know at least *some* of this, or you won’t find “the best” solution.

    # December 13, 2012 at 5:11 am

    Truth be told, I have never done this, and would like to learn. I would like to implement one before a client asks for such some day. So, if I’m going to try, I mine as well try with all the bells and whistles.

    Ones that I have come across that look promising are
    http://usercake.com/

    http://angry-frog.com/downloads-page/

    # December 13, 2012 at 9:37 pm

    > `echo “

    Your new password has been generated and sent to the email
    associated with your account.`
    –angry frog login script v3

    uhh… **NO**

    *****

    At first glance, usercake seems fairly well thought-out. SHA-1 + salt, good feature list.

    I haven’t read through it in its entirety, of course, but it appears to be well-documented: always a good sign.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".