note 42277 deleted from function.split by tomsommer

From: Date: Tue, 06 Jul 2004 09:11:06 +0000
Subject: note 42277 deleted from function.split by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-72725@lists.php.net to get a copy of this message
Note Submitter: jross (at) open by design (dot) com ---- something useful for parsing windows integrated domain login info into the respective domain and userid: list($domain,$user) = split("\\\\\\\\", $_SERVER['AUTH_USER']); The above works when using IIS and windows authentication to Active Directory. The variable $_SERVER['AUTH_USER'] contains both the domain and the user login, separated by a double backslash (eg: DOMAIN\\username) Accordingly, there needs to be a double double escaping =0)

« previous php.notes (#72725) next »