Simply Program

Simply programming - It’s a life style
Filed under Programming, PHP

Hey all,

So how can you read a user who just logged in with htacess?

CODE:
  1. $auth_username = $_SERVER['REMOTE_USER']

Make sure you have it right by checking phpinfo().

Posted by sp on Monday, May 12th, 2008


You can follow any responses to this entry through the magic of "RSS 2.0" and leave a trackback from your own site.