Bug #55265 [Bgs]: function getenv()
Edit report at https://bugs.php.net/bug.php?id=55265edit=1 ID: 55265 User updated by:unasivp at hotmail dot com Reported by:unasivp at hotmail dot com Summary:function getenv() Status: Bogus Type: Bug Package:Program Execution Operating System: windows XP SP3 PHP Version:5.3.6 Block user comment: N Private report: N New Comment: Thanks, and can you explain me about. 1. what lib which I could load in. 2. what NTLM need. Previous Comments: [2011-08-02 16:42:04] paj...@php.net What you may need is NTLM support. It will let you use the authenticated user. Check out there, a couple of php libs to do it. [2011-08-02 14:28:06] unasivp at hotmail dot com I know it not a bug but I want to know how to do that. Because I develop the intranet application and I need to use window logon user name to logon in my application. [2011-08-02 13:41:17] paj...@php.net . [2011-08-02 13:41:02] paj...@php.net It is not necessary exposed. But check phpinfo to see it, also there is no bug in getenv bogus. [2011-08-02 13:31:17] unasivp at hotmail dot com I found in some website say the function getenv(username) return windows login user name. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=55265 -- Edit this bug report at https://bugs.php.net/bug.php?id=55265edit=1
Bug #55265 [Bgs]: function getenv()
Edit report at https://bugs.php.net/bug.php?id=55265edit=1 ID: 55265 User updated by:unasivp at hotmail dot com Reported by:unasivp at hotmail dot com Summary:function getenv() Status: Bogus Type: Bug Package:Program Execution Operating System: windows XP SP3 PHP Version:5.3.6 Block user comment: N Private report: N New Comment: I know it not a bug but I want to know how to do that. Because I develop the intranet application and I need to use window logon user name to logon in my application. Previous Comments: [2011-08-02 13:41:17] paj...@php.net . [2011-08-02 13:41:02] paj...@php.net It is not necessary exposed. But check phpinfo to see it, also there is no bug in getenv bogus. [2011-08-02 13:31:17] unasivp at hotmail dot com I found in some website say the function getenv(username) return windows login user name. [2011-07-22 07:38:25] paj...@php.net What are you trying to explain? When an environment variable does not exist, NULL is returned. [2011-07-22 07:31:56] unasivp at hotmail dot com Description: function getenv() return NULL string. Test script: --- ?php echo [.getenv(username).]br; ? Expected result: [] -- Edit this bug report at https://bugs.php.net/bug.php?id=55265edit=1
Bug #55265 [Bgs]: function getenv()
Edit report at https://bugs.php.net/bug.php?id=55265edit=1 ID: 55265 Updated by: paj...@php.net Reported by:unasivp at hotmail dot com Summary:function getenv() Status: Bogus Type: Bug Package:Program Execution Operating System: windows XP SP3 PHP Version:5.3.6 Block user comment: N Private report: N New Comment: What you may need is NTLM support. It will let you use the authenticated user. Check out there, a couple of php libs to do it. Previous Comments: [2011-08-02 14:28:06] unasivp at hotmail dot com I know it not a bug but I want to know how to do that. Because I develop the intranet application and I need to use window logon user name to logon in my application. [2011-08-02 13:41:17] paj...@php.net . [2011-08-02 13:41:02] paj...@php.net It is not necessary exposed. But check phpinfo to see it, also there is no bug in getenv bogus. [2011-08-02 13:31:17] unasivp at hotmail dot com I found in some website say the function getenv(username) return windows login user name. [2011-07-22 07:38:25] paj...@php.net What are you trying to explain? When an environment variable does not exist, NULL is returned. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=55265 -- Edit this bug report at https://bugs.php.net/bug.php?id=55265edit=1