We are trying to modify our intranet web applications, Every individual user to be use their own & only one username and password log-in authentication to log-in to all intranet web applications.
For that we try to use their local windows /linux system username and password .
Once user logged in to their system he/she can able to access all intranet web application directly once he/she browse the web application. He/she no need to log-in each and every time for each and every intranet web application .
I read many articles (one ,two ,three,four and so ..) but I could not understand how am I get local windows/linux system username and password those who logged in to that system by using PHP ,at least username alone is more enough.
I tried <?php echo getenv("username"); ?>
this but its shows blank.
Please give me a solution .Please don't reject this question .
Thanks in advance for your answers and comments.