Forum Moderators: coopster

Message Too Old, No Replies

Help with a login script

Login script with Redirect

         

tahu forever

11:00 pm on Mar 28, 2003 (gmt 0)

10+ Year Member



Hey,

I am looking for a way to have a login script with PHP, and then redirect the user to a different page depending on who they are.

Any help would be great.

Thanks, Tahu

jatar_k

12:00 am on Mar 29, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld tahu_forever,

Well it isn't too tough to do. How/Where are you going to store the username/password?

You have a lovely little form with fields for user/pass. You post it to your authentication script and then, possibly, use header [php.net] to redirect them to the page you want.

tahu forever

12:34 am on Mar 29, 2003 (gmt 0)

10+ Year Member



Ummm, I have mySQL, maybe I could use that or something. I doesnt really matter to me.