Check the sign in username and display some text.
Posted: Thu Jul 10, 2014 6:05 am
I require some simple PHP help... Any help will be much appreciated!
There are only two types of sign ins:
Username: management and Password: xxx
and
Username: employee Password: xxx
I would like to display some text on my webpage that says ‘Management Sign in Area” Only if management signs in and not display it if an employee signs in. Security is not an issue here just the ability to achieve the task.
I have to check the username they logged in with; examine the value of the
$_SERVER['REMOTE_USER'] variable.
There are only two types of sign ins:
Username: management and Password: xxx
and
Username: employee Password: xxx
I would like to display some text on my webpage that says ‘Management Sign in Area” Only if management signs in and not display it if an employee signs in. Security is not an issue here just the ability to achieve the task.
I have to check the username they logged in with; examine the value of the
$_SERVER['REMOTE_USER'] variable.