Jump to content

Page redirect on user name


gavin.sibley

Recommended Posts

Hello,

 

Im trying to set up a page that will redirect users to other pages depending on there login credentials.

 

The user name is stored in the under user_login and the page i want them to be redirected to is in the same table and is called HomePage.

 

I havent got a clue when it comes to php so any help would be much appreciated.

 

thanks,

gavin

Link to comment
https://forums.phpfreaks.com/topic/262990-page-redirect-on-user-name/
Share on other sites

Thats great thanks,

 

any idea on how i would change this redirect using a field in a database depending on the current logged in user?

 

i.e redirect to page 1 when user 1 logged in, redirect to page 2 when user 2  logged in etc.

 

thanks,

gavin

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.