Hi,
I want to make a client login area for my website. I want it to redirect to a specific page depending on who the client is. I'd like to code this in PHP, so how would I go about doing that?
PHP Client Area
Started by Scion, Jul 07 2007 10:26 PM
1 reply to this topic
#1
Posted 07 July 2007 - 10:26 PM
#2
Posted 07 July 2007 - 11:08 PM
that would be very easy. One of two ways but both ways would be based on your configuration of data. Either you have some form of classification of each user (e.g. into a user group) and the classification records which page they go to when they log in, or you have it configured based on the user account, so the actual user info would hold which page they go to.
Most prob you would have a separate table to define the locations they can go to and then either the classification table or user table would have a foreign key to the locations table.
When they log in i imagine a simple redirect would work.
Most prob you would have a separate table to define the locations they can go to and then either the classification table or user table would have a foreign key to the locations table.
When they log in i imagine a simple redirect would work.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
