Capture Windows Logged In User Into My Php Script

I need to capture the Window Logged in User into my PHP script.

Example:
I have a PHP application running on XAMPP 2.5.8 on Windows Server 2003.
When I login with Username (john) and execute my PHP page in Browser it should display
“Welcome John(Windows logged in Username)”.

Leave a Reply

Your email address will not be published. Required fields are marked *