#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Posts
    2
    Rep Power
    0

    Question user login and password confirmation


    how to confirm a user login and password, and then lead the user to his profile page? is it related to database retrival?
  2. #2
  3. Ole` Timer
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Location
    N.W. Iowa
    Posts
    472
    Rep Power
    14

    Thumbs up


    Oh Man, there so many ways to do this, depending on what programming language your using, ie. PHP, Perl..etc.

    Can you be a bit more specific

    Mickalo

    Thunder Rain Internet Publishing

    Custom Programming & Database development
    Providing Personal/Business
    Internet Solutions that work!
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Posts
    2
    Rep Power
    0

    Smile user login and password


    ok. I make it more detail of my question.

    For example, I got an user ID and password. Then, I key in the login ID and password on a web site, then I click login.

    What is the technology involve behind the above scene?
  6. #4
  7. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Posts
    7
    Rep Power
    0
    Well, the simplest method will be using directory protection with .htaccess. You can use one username and password for all users.

    You can check out how this works by typing .htaccess or password protected directory in Google.

    More complicated ways of doing this will be using programming languages such as Perl, PHP etc. Of course, this way is more sophisticated since you can generate usernames and passwords, give different people certain level and access etc.

    There are lots of scripts that you can use for this. You can check out http://www.hotscripts.com/Perl/Scrip...rd_Protection/ and http://www.hotscripts.com/PHP/Script...uthentication/

    Hope this helps.

    Laura Brandt
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Posts
    4
    Rep Power
    0
    Hello,

    As Laura suggested using .htaccess is the best way to protect
    a directory on your site or html pages.

    First thing you need to figure out is how you are going to manage
    the profiles in the first place. Whether they are each going to get
    their own HTML page or you are going to add each to a database
    eg, mySQL, Flatefile and so on. Each could then be unique to their
    username and password, which can be stored in the database as
    well.

    If using mySQL you can encrypt each users passwords in the table
    and test against that.

    From there you could extract the proper users information and do
    with it whatever you or they want to.

    Create profiles dynamically and update records according to the users
    input.

    I am sure you could get help if you would descibe exactly how you
    want to store the information.

    Regards,
    Ray

IMN logo majestic logo threadwatch logo seochat tools logo