|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-10-27 21:44 UTC] tony2001@php.net
[2005-10-27 22:20 UTC] jmcentire at jackhenry dot com
[2005-10-27 22:26 UTC] tony2001@php.net
[2005-10-27 22:43 UTC] jmcentire at jackhenry dot com
[2005-10-27 22:43 UTC] jmcentire at jackhenry dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 19:00:01 2025 UTC |
Description: ------------ php_info() shows server variable AUTH_USER in correct format: DOMAIN\username However, the $_server["AUTH_USER"] in code returns "DOMAINusername" (no seperator). Reproduce code: --------------- list($domain,$username) = split('[\]',$_SERVER["AUTH_USER"],2); print "Domain: $domain UserName: $username"; Expected result: ---------------- Domain: DOMAIN UserName: username Actual result: -------------- Domain: DOMAINusername UserName: