how to authenticate a login username and password using php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bg4l
    New Member
    • Dec 2009
    • 1

    how to authenticate a login username and password using php

    I am designing a website and am looking for code how to authenticate a user's user name and password.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    a site to start

    Comment

    • Dheeraj Joshi
      Recognized Expert Top Contributor
      • Jul 2009
      • 1129

      #3
      There are lot of things to consider.

      Use links given by Dormilich for reference.

      Regards
      Dheeraj Joshi

      Comment

      • beannight
        Banned
        New Member
        • Jan 2010
        • 4

        #4
        I Will Help Bro

        yo its real simple you just need to set up a database with a good table
        and a fly script i can help you if you want ill post a script

        just say the words i know what it feels like to have all the questions with no answers.....

        Comment

        • beannight
          Banned
          New Member
          • Jan 2010
          • 4

          #5
          craete a table in a data base call it user_data then wat you want to do is
          create an html form say that it has two fields a username and a password
          then wat you want to do is with that form post that data into the fields of your table which should be username and password

          Comment

          • Dormilich
            Recognized Expert Expert
            • Aug 2008
            • 8694

            #6
            the fields of your table which should be username and password
            it is generally recommended to use the password hash instead of the plain password.

            Comment

            • beannight
              Banned
              New Member
              • Jan 2010
              • 4

              #7
              yea and the md5 as well

              Comment

              • Dormilich
                Recognized Expert Expert
                • Aug 2008
                • 8694

                #8
                using sha265 or ripemd is more secure than md5.

                Comment

                Working...