note 42277 added to function.split

From: Date: Mon, 10 May 2004 20:20:27 +0000
Subject: note 42277 added to function.split
Groups: php.notes 
Request: Send a blank email to php-notes+get-69429@lists.php.net to get a copy of this message
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) ---- Manual Page -- http://www.php.net/manual/en/function.split.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42277 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42277&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42277&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#69429) next »