--- Pag <[EMAIL PROTECTED]> wrote:
> What do i use to authenticate the user on my site?
> Sessions?

No, authentication is something you do. PHP's sessions help
you keep up with persistent data associated with a user.

There are some things in PEAR (http://pear.php.net/) that
handle authentication for you, but many people just check
to see if the username and password are correct, and go
from there.

A good thing to research is PHP's session management, as
you will probably make use of that feature, since it is
pretty easy to implement. For authentication, you can
search PEAR for something or just make sure the username
and password are correct (look at examples of interacting
with a database if that is where the username and password
are stored - hopefully the passwords are encrypted and
preferably message digests).

Chris

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to