Jump to content


Photo

User Authentication, Log In User


  • Please log in to reply
3 replies to this topic

#1 rsquaredpgh

rsquaredpgh
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 06 June 2006 - 04:08 PM

So far my experience with PHP and MySQL is pretty limited - mostly using Dreamweaver MX. What I need to do is construct a user login page using PHP which authenticates the user and then redirects them to a specific page based on their login.

There would be a finite number of users (about 6) and six unique pages to redirect to. Can anyone point me to a tutorial or briefly explain how I would go about doing this?

Thanks in advance.

Robert

#2 moberemk

moberemk
  • Members
  • PipPipPip
  • Advanced Member
  • 695 posts

Posted 06 June 2006 - 09:23 PM

I suppose you could have it so that you have an if statement for the redirect, like if $user == x, redirect code here.
Disclaimer: No matter how harsh I may be, I'm always IMO only.

#3 TronB24

TronB24
  • Members
  • PipPip
  • Member
  • 22 posts
  • LocationFlorida

Posted 07 June 2006 - 11:03 PM

Try [a href=\"http://www.wap.org/journal/dreamweaverphp/default.html\" target=\"_blank\"]this[/a] or you can invest in [a href=\"http://interaktonline.com\" target=\"_blank\"]InterAKT [/a]extensions
...that depends on what the definition of "is" is.

#4 moberemk

moberemk
  • Members
  • PipPipPip
  • Advanced Member
  • 695 posts

Posted 08 June 2006 - 12:14 AM

Hey, aren't I the forums' dedicated interAKT plugger? Probably should've posted that link.
Disclaimer: No matter how harsh I may be, I'm always IMO only.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users