Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2004
    Chapel Hill, NC

    php user authentication

    I have tried for several days now and used many pre-written scripts to have a particular page on my site accessed only by registered users.

    User register through a form and the info. is then submitted into the user mySQL database. I later want the email field and password field to be used to login. The form is submitted via a HTTPS connection and then I use md5 to encrypt the password.

    Anyone have any suggestions for a very easy but working script?


  2. #2
    Join Date
    Sep 2002
    make a login page and if they have the correct password start a session and set a session variable, then at the top of the registered only page check if the session variable is set. if it isnt then they arent logged in.

  3. #3
    Sorry, I might be misreading this. Are you asking for a script to do this or are you having issues with a current script?


Posting Permissions

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