Re: [PHP] Advanced User Authentication

2002-06-18 Thread George Whiffen
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 >

RE: [PHP] Advanced User Authentication <--- solved

2002-06-14 Thread Chris Bunting
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

RE: [PHP] Advanced User Authentication <--- solved

2002-06-13 Thread César Aracena
> 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

RE: [PHP] Advanced User Authentication

2002-06-13 Thread César Aracena
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

Re: [PHP] Advanced User Authentication

2002-06-13 Thread Miguel Cruz
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

[PHP] Advanced User Authentication

2002-06-13 Thread César Aracena
Hi all, I’m trying to make a somehow “advanced” user authentication system fro my own web site. What I’m 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

[PHP] Advanced User Authentication

2002-06-13 Thread César Aracena
Hi all, I’m trying to make a somehow “advanced” user authentication system fro my own web site. What I’m 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