How to obtain the user id to an equipment when the user logs
Moderator: General Moderators
-
Ludmila283
- Forum Newbie
- Posts: 5
- Joined: Tue May 23, 2006 11:04 am
How to obtain the user id to an equipment when the user logs
Do you know how to obtain the user of an equipment? For example, the user logs into windows to start working. How can I know who is the user using PHP.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
-
Ludmila283
- Forum Newbie
- Posts: 5
- Joined: Tue May 23, 2006 11:04 am
Thank you for your advice
Thank you for your advice.
On the other hand, I just met the forum today.
On the other hand, I just met the forum today.
Re: Thank you for your advice
Welcome!Ludmila283 wrote:Thank you for your advice.
On the other hand, I just met the forum today.
Searching these forums will make you far more knowledgable. The forums have been around for years, and almost every major question has been asked and answered at some point. In this case, a search for "Windows auth" (choose search for all terms) will yield very helpful threads that have already answered it.
-
Ludmila283
- Forum Newbie
- Posts: 5
- Joined: Tue May 23, 2006 11:04 am
Thank you I found the solution for you!!!
The answer is print($_SERVER['AUTH_USER']);
ok, I ´precciate your help.