Get the name that a person logged on to the computer with
javascript, php
Solution
That's not possible with PHP or Javascript.
You can look at the headers sent to the server to see what data is sent (getallheaders).
As others suggest you can use plugins that integrate more tightly with the host computer to get this information.
Problem
I was wondering if it was possible to get the username of the person who had logged on to the computer in php or javascript. For example, if I get on my laptop, log in to the computer, and go to the website, I would want it to show the name I logged in with. Is there any way to do this, or is it impossible