If you’ve set IIS to authenticate users one or more of these should contain the username:
$_SERVER['LOGON_USER']
$_SERVER['AUTH_USER']
$_SERVER['REDIRECT_LOGON_USER']
$_SERVER['REDIRECT_AUTH_USER']
More Related Contents:
- How to check if mod_rewrite is enabled in php?
- PHP Fatal error: Call to undefined function mssql_connect()
- How can I get the current page’s full URL on a Windows/IIS server?
- Can PHP and ASP.Net run together within the same web site in IIS 7.5?
- What causes an HTTP 405 “invalid method (HTTP verb)” error when POSTing a form to PHP on IIS?
- Authenticating in PHP using LDAP through Active Directory
- Simple comet example using php and jquery
- Display thumbnailPhoto from Active Directory in PHP
- How do I enable PUT requests in Azure?
- Installing ImageMagick extension with php/windows
- PHP Function with Optional Parameters [duplicate]
- Find out HTTP method in PHP [duplicate]
- How to get the home directory from a PHP CLI script?
- Convert PostgreSQL array to PHP array
- Magento – Passing data between a controller and a block
- Set httpOnly and secure on PHPSESSID cookie in PHP
- PHP – detect whitespace between strings
- Laravel Auth:attempt() will not persist login
- How to add a view helper directory (zend framework)
- PHP: Most frequent value in array
- MYSQL select a piece of a string and order by that piece
- Getting data from post array in CodeIgniter
- file_get_contents() error
- Fatal error: Call to undefined function mysql_connect() in C:\Apache\htdocs\test.php on line 2
- saving checkbox state on reload
- using mod_rewrite with XAMPP and windows 7 – 64 bit?
- Update Command-line Output, i.e. for Progress
- Avoid public folder of laravel and open directly the root in web server
- Laravel Eloquent update just if changes have been made
- Code to parse user agent string?