lumsy/buggy/limiting.
Good Luck,
George
>
> [snip]
> if (session_is_registered("valid_admin"))
> {
> // do admin stuff
> }
> else if (session_is_registered("valid_user"))
> {
> // do users stuff
> }
> else
> {
> // prompt for login
>
Hi All,
Here is a link to an easy to use session program. Has all the code needed
I think. This is what I have been using to get used to sessions and all.
http://www.trios.org/php/sessions/
Hope this helps soneone,
Chris
_
Send
> De: Justin French [mailto:[EMAIL PROTECTED]]
> Enviado el: Viernes, 14 de Junio de 2002 03:29 a.m.
> Para: César Aracena
> Asunto: Re: [PHP] Advanced User Authentication
>
> This is a reasonably in-depth topic, and I don't have any experience
with
> the book in quest
nip]
César Aracena
IS / MCSE+I
Neuquén, NQN
(0299) 156-356688
(0299) 446-6621
> -Mensaje original-
> De: Miguel Cruz [mailto:[EMAIL PROTECTED]]
> Enviado el: Viernes, 14 de Junio de 2002 03:11 a.m.
> Para: César Aracena
> CC: PHP General List
> Asunto: Re: [PHP] Advanced U
I think you're making it needlessly complicated. Why don't you just
select * from * FROM auth WHERE authname = '$username' AND
authpass = password('$password')
and not worry about "WHERE authlevel = 1"?
Then, if that query is successful, you can just fetch the result row
and see what 'auth
Hi all,
Im trying to make a somehow advanced user authentication system fro
my own web site. What Im using as a model example, is the
authentication system explained by Luke Welling & Laura Thomson in their
book PHP and MySQL Web Development. In the book, they explain how to
make apparently
Hi all,
Im trying to make a somehow advanced user authentication system fro
my own web site. What Im using as a model example, is the
authentication system explained by Luke Welling & Laura Thomson in their
book PHP and MySQL Web Development. In the book, they explain how to
make apparently
7 matches
Mail list logo