Search found 4 matches
- Thu Jul 17, 2014 5:32 am
- Forum: PHP - Code
- Topic: Change the file extension where the images are stored.
- Replies: 1
- Views: 1228
Change the file extension where the images are stored.
Hi, I am building a basic art gallery for a friend who requires images to be uploaded onto a database and displayed. I have managed to get the crux of it working but I cant figure out how to change the file extension where the images are stored. I would like the images to be stored in a file called ...
- Thu Jul 10, 2014 6:38 am
- Forum: PHP - Code
- Topic: Check the sign in username and display some text.
- Replies: 3
- Views: 2378
Re: Check the sign in username and display some text.
I have got it! Wohooo feels good when you get it. Thanks Celauran for you help you are a Star! This was it. <?php if ($_SERVER['REMOTE_USER'] == 'management'): ?> <div><p><a href="xxx">Click Here for Management Area</a></p></div> <?php endif; ?>
- Thu Jul 10, 2014 6:33 am
- Forum: PHP - Code
- Topic: Check the sign in username and display some text.
- Replies: 3
- Views: 2378
Re: Check the sign in username and display some text.
Yup that sounds right but its not working for some reason.
DO I have to I have to check the username they logged in with; examine the value of the
$_SERVER['REMOTE_USER'] variable?
DO I have to I have to check the username they logged in with; examine the value of the
$_SERVER['REMOTE_USER'] variable?
- Thu Jul 10, 2014 6:05 am
- Forum: PHP - Code
- Topic: Check the sign in username and display some text.
- Replies: 3
- Views: 2378
Check the sign in username and display some text.
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 n...