#1
  1. No Profile Picture
    david_denboer
    Guest
    Devshed Newbie (0 - 499 posts)
    Is there an easy way to do user authentication without using PHPLib? I hate to re-invent the wheel, but in this case, I need to.

    David.
  2. #2
  3. No Profile Picture
    jpenix
    Guest
    Devshed Newbie (0 - 499 posts)
    If you're running PHP as an Apache module, you can integrate with HTTP authentication.

    See:
    http://www.php.net/manual/features.http-auth.php3

    Just curious - why can't you use PHPLIB?

    [This message has been edited by jpenix (edited 07-06-99).]
  4. #3
  5. No Profile Picture
    david_denboer
    Guest
    Devshed Newbie (0 - 499 posts)
    The reason we do not want to use PHPLib is because it just doesn't do things quite the way we want them to. We really want to track authentication and session vars across pages, but not the way it does it.

    David.
  6. #4
  7. No Profile Picture
    david_denboer
    Guest
    Devshed Newbie (0 - 499 posts)
    Well, to answer my own query, I did it without PHPlib, but with some source help from PHPlib.

    The main thing I was worried about was clear-text passwords, and with the MD5 algorithm from PHPlib, I was able to get rid of this problem.

    Now with PHP4, I am able to do sessions properly without rolling my own!

    David.

Similar Threads

  1. Replies: 0
    Last Post: December 17th, 2003, 10:15 AM
  2. PHPLIB + one user + detecting multiple sessions
    By redbanditos2005 in forum PHP Development
    Replies: 0
    Last Post: July 15th, 2003, 04:26 AM
  3. phplib + my own class
    By melvinfoo in forum PHP Development
    Replies: 0
    Last Post: November 8th, 2001, 04:41 AM
  4. PHPLIB Templates - code reuse
    By sandsgaa in forum PHP Development
    Replies: 3
    Last Post: October 11th, 2001, 07:14 PM
  5. Problems Understanding PHPLIB and CLASSES
    By Maestro in forum PHP Development
    Replies: 0
    Last Post: September 28th, 2000, 09:27 AM

IMN logo majestic logo threadwatch logo seochat tools logo